Skip to content

Commit 13a9e49

Browse files
committed
no cache checkout
1 parent 72268ed commit 13a9e49

File tree

1 file changed

+25
-24
lines changed

1 file changed

+25
-24
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,32 @@ jobs:
1616
uses: oxidize-rb/actions/fetch-ci-data@v1
1717
with:
1818
stable-ruby-versions: |
19-
# See https://github.com/bytecodealliance/wasmtime-rb/issues/286
20-
# for details.
21-
exclude: [head]
19+
# See https://github.com/bytecodealliance/wasmtime-rb/issues/286
20+
# for details.
21+
exclude: [head]
2222
rspec:
23-
runs-on: ${{ matrix.os }}
24-
needs: ci-data
25-
strategy:
26-
fail-fast: false
27-
matrix:
28-
os: ["ubuntu-latest", "macos-latest"]
29-
ruby: ${{ fromJSON(needs.ci-data.outputs.result).stable-ruby-versions }}
30-
steps:
31-
- uses: actions/checkout@v4
32-
- uses: oxidize-rb/actions/setup-ruby-and-rust@v1
33-
with:
34-
ruby-version: ${{ matrix.ruby }}
35-
bundler-cache: true
36-
cargo-cache: true
37-
cache-version: v5
38-
39-
- name: Compile rust ext
40-
run: bundle exec rake compile:release
41-
42-
- name: Run ruby tests
43-
run: bundle exec rake spec
23+
runs-on: ${{ matrix.os }}
24+
needs: ci-data
25+
strategy:
26+
fail-fast: false
27+
matrix:
28+
os: ["ubuntu-latest", "macos-latest"]
29+
ruby: ${{ fromJSON(needs.ci-data.outputs.result).stable-ruby-versions }}
30+
rust: ["stable"]
31+
steps:
32+
- uses: actions/checkout@v4
33+
- uses: oxidize-rb/actions/setup-ruby-and-rust@v1
34+
continue-on-error: true
35+
with:
36+
ruby-version: ${{ matrix.ruby }}
37+
rustup-toolchain: ${{ matrix.rust }}
38+
bundler-cache: true
39+
cargo-cache: ${{ matrix.os != 'macos-latest' }}
40+
cargo-cache-clean: ${{ matrix.os != 'macos-latest' }}
41+
- name: Run ruby tests
42+
run: bundle exec rake
43+
- name: Compile rust ext
44+
run: bundle exec rake compile:release
4445
static_type_check:
4546
name: "Type Check"
4647
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)