Skip to content

Commit d861735

Browse files
authored
Resolve CI annotation warnings (#170)
* Resolve CI annotation warnings - Remove unsupported ruby-version-file input from setup-ruby steps (both ruby/setup-ruby and oxidize-rb/setup-ruby-and-rust auto-read .ruby-version when ruby-version is unset) - Bump actions/checkout v4 -> v5 to run on Node.js 24 * Pin actions/checkout to v6.0.3 * Use actions/checkout@v6 major tag
1 parent db40132 commit d861735

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

.github/workflows/cd.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
matrix:
3838
ruby-platform: ${{ fromJSON(needs.ci-data.outputs.result).supported-ruby-platforms }}
3939
steps:
40-
- uses: actions/checkout@v4
40+
- uses: actions/checkout@v6
4141

4242
- uses: ruby/setup-ruby@v1
4343
with:
@@ -82,11 +82,10 @@
8282
permissions:
8383
contents: write # Required for creating releases
8484
steps:
85-
- uses: actions/checkout@v4
85+
- uses: actions/checkout@v6
8686

8787
- uses: oxidize-rb/actions/setup-ruby-and-rust@v1
8888
with:
89-
ruby-version-file: .ruby-version
9089
bundler-cache: true
9190
cargo-cache: false
9291

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
ruby: ${{ fromJSON(needs.ci-data.outputs.result).stable-ruby-versions }}
3030
rust: ["stable"]
3131
steps:
32-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@v6
3333
- uses: oxidize-rb/actions/setup-ruby-and-rust@v1
3434
with:
3535
ruby-version: ${{ matrix.ruby }}
@@ -45,10 +45,9 @@ jobs:
4545
name: "RSpec (ruby-version-file)"
4646
runs-on: ubuntu-latest
4747
steps:
48-
- uses: actions/checkout@v4
48+
- uses: actions/checkout@v6
4949
- uses: oxidize-rb/actions/setup-ruby-and-rust@v1
5050
with:
51-
ruby-version-file: .ruby-version
5251
rustup-toolchain: stable
5352
bundler-cache: true
5453
cargo-cache: false
@@ -60,12 +59,11 @@ jobs:
6059
name: "Type Check"
6160
runs-on: ubuntu-latest
6261
steps:
63-
- uses: actions/checkout@v4
62+
- uses: actions/checkout@v6
6463
- name: Set up Ruby
6564
uses: ruby/setup-ruby@v1
6665
with:
6766
bundler-cache: true
68-
ruby-version-file: .ruby-version
6967
- name: Run static type checks
7068
run: bundle exec srb tc
7169
notify_on_failure:

0 commit comments

Comments
 (0)