-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CI, upgrade actions/* version. (#220)
- `actions/download-artifact@v4` - `actions/upload-artifact@v4` - `actions/checkout@v4`
- Loading branch information
Showing
9 changed files
with
32 additions
and
32 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Setup | Cache Cargo | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -42,7 +42,7 @@ jobs: | |
name: Test for Node.js | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
|
@@ -71,7 +71,7 @@ jobs: | |
name: Test for Python | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Setup | Cache Cargo | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -96,7 +96,7 @@ jobs: | |
name: Test for Ruby | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Setup | Cache Cargo | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -125,7 +125,7 @@ jobs: | |
runs-on: ${{ matrix.settings.host }} | ||
name: Test for Java on ${{ matrix.settings.host }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Setup | Cache Cargo | ||
uses: actions/[email protected] | ||
with: | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
name: 'Release Crate & RubyGem' | ||
name: "Release Crate & RubyGem" | ||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
- "v*" | ||
branches: | ||
- release-gem | ||
jobs: | ||
publish_crate: | ||
name: Publish Crate | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: actions-rs/cargo@v1 | ||
if: startsWith(github.ref, 'refs/tags/v') | ||
name: Release Crate | ||
|
@@ -33,10 +33,10 @@ jobs: | |
- aarch64-linux | ||
- x86_64-linux-musl | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: oxidize-rb/actions/[email protected] | ||
with: | ||
ruby-version: '3.3' | ||
ruby-version: "3.3" | ||
bundler-cache: true | ||
cargo-cache: true | ||
cargo-vendor: false | ||
|
@@ -49,7 +49,7 @@ jobs: | |
with: | ||
platform: ${{ matrix.ruby-platform }} | ||
working-directory: autocorrect-rb/ | ||
ruby-versions: '3.3, 3.2, 3.1' # optional | ||
ruby-versions: "3.3, 3.2, 3.1" # optional | ||
|
||
- name: Upload Gem | ||
uses: actions/upload-artifact@v3 | ||
|
@@ -63,10 +63,10 @@ jobs: | |
- publish_crate | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: oxidize-rb/actions/[email protected] | ||
with: | ||
ruby-version: '3.3' | ||
ruby-version: "3.3" | ||
bundler-cache: false | ||
cargo-cache: true | ||
cargo-vendor: true | ||
|
@@ -93,7 +93,7 @@ jobs: | |
steps: | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.3' | ||
ruby-version: "3.3" | ||
bundler-cache: true | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
|
@@ -106,7 +106,7 @@ jobs: | |
|
||
- name: Publish to RubyGem | ||
env: | ||
RUBYGEM_TOKEN: '${{secrets.RUBYGEM_TOKEN}}' | ||
RUBYGEM_TOKEN: "${{secrets.RUBYGEM_TOKEN}}" | ||
working-directory: pkg/ | ||
run: | | ||
mkdir -p $HOME/.gem | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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