share results #60
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| lfs: true | |
| - uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: "nightly" | |
| - name: version info | |
| run: rustc --version; cargo --version; | |
| - name: Download test data | |
| run: gh release download test-data --pattern "hits_100mb.csv" --repo friendlymatthew/arrow-csv2 | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Run all tests | |
| run: cargo test | |
| fmt: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: nightly | |
| - run: | | |
| rustup component add rustfmt | |
| cargo fmt --all -- --check | |
| clippy: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: "nightly" | |
| - run: | | |
| rustup component add clippy | |
| cargo clippy -- -D warnings | |