diff options
| author | nic-gaffney <gaffney_nic@protonmail.com> | 2023-07-31 00:08:04 -0500 |
|---|---|---|
| committer | nic-gaffney <gaffney_nic@protonmail.com> | 2023-07-31 00:08:04 -0500 |
| commit | 7275a607d45d7e4f206f005584eef9ea5e331044 (patch) | |
| tree | 1dc6d8ad482ed85787feccebbdbbb1aaf54bb98c /.github/workflows/testing.yml | |
| parent | 9b2fe27e03ae1962305f9032823e9984b2cf503c (diff) | |
| parent | 7cd943581febdf20f4f0590907cfc05986453f53 (diff) | |
| download | sloth-7275a607d45d7e4f206f005584eef9ea5e331044.tar.gz | |
Merge branch 'master' of github.com-Nic:slothlang/sloth
Diffstat (limited to '.github/workflows/testing.yml')
| -rw-r--r-- | .github/workflows/testing.yml | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index e4994ea..ad93c36 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -8,16 +8,32 @@ jobs: matrix: os: - ubuntu - - windows - macos rust: - stable - - nightly + - nightly-2023-06-19 name: Test Rust ${{ matrix.rust }} on ${{ matrix.os }} runs-on: ${{ matrix.os }}-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + - run: rm rust-toolchain.toml + + # Cache files like by target directory + - uses: actions/cache@v3 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + target + key: ${{ runner.os }}-rustc-${{ matrix.rust }}-cargo-${{ hashFiles('**/Cargo.lock') }} + + # Prepare toolchain related stuff - uses: dtolnay/rust-toolchain@stable with: toolchain: ${{ matrix.rust }} + - uses: KyleMayes/install-llvm-action@v1 + with: + version: "15.0" + + - run: cargo build --all-features - run: cargo test --all-features --no-fail-fast |
