Skip to content

Commit

Permalink
chore(ci): update outdated actions and replace unmaintained action (#506
Browse files Browse the repository at this point in the history
)

- Update actions/checkout, arduino/setup-protoc, and
  taiki-e/create-gh-release-action actions.
- Replace unmaintained actions-rs/audit-check action with
  rustsec/audit-check action (rustsec fork of actions-rs/audit-check.
  see also rustsec/audit-check#2).
  • Loading branch information
taiki-e committed Jan 7, 2024
1 parent bb3cb92 commit ef61081
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/audit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
security_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/audit-check@v1
- uses: actions/checkout@v4
# https://github.com/rustsec/audit-check/issues/2
- uses: rustsec/audit-check@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@master
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
os: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install ${{ matrix.rust }} toolchain
uses: dtolnay/rust-toolchain@master
Expand All @@ -69,7 +69,7 @@ jobs:
- uses: Swatinem/rust-cache@v2

- name: Install Protoc
uses: arduino/setup-protoc@v1
uses: arduino/setup-protoc@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -87,7 +87,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@master
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
if: github.repository_owner == 'tokio-rs'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: taiki-e/create-gh-release-action@v1.3.0
- uses: actions/checkout@v4
- uses: taiki-e/create-gh-release-action@v1
with:
prefix: "(console-subscriber)|(console-api)|(tokio-console)"
changelog: "$prefix/CHANGELOG.md"
Expand Down Expand Up @@ -44,10 +44,10 @@ jobs:
os: macos-latest
- target: aarch64-pc-windows-msvc
os: windows-latest

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: tokio-console
Expand Down

0 comments on commit ef61081

Please sign in to comment.