Skip to content

Commit

Permalink
Update GitHub Actions CI (#47)
Browse files Browse the repository at this point in the history
The following updates are performed:
* update actions/checkout to v3
* replace unmaintained actions-rs/toolchain by dtolnay/rust-toolchain
  • Loading branch information
striezel committed Apr 25, 2023
1 parent ae815d1 commit e575b88
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/clippy.yml
Expand Up @@ -7,12 +7,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
profile: minimal
components: clippy, rustfmt
override: true
- name: Run clippy
run: make lint
6 changes: 2 additions & 4 deletions .github/workflows/rustfmt.yml
Expand Up @@ -7,12 +7,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
profile: minimal
components: clippy, rustfmt
override: true
- name: Run rustfmt
run: make format-check
12 changes: 4 additions & 8 deletions .github/workflows/tests.yml
Expand Up @@ -8,12 +8,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
profile: minimal
override: true
- name: Test
run: make test

Expand All @@ -22,11 +20,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.41.0
profile: minimal
override: true
- name: Test
run: cargo check --all-features

0 comments on commit e575b88

Please sign in to comment.