Update GitHub Actions CI (#47)

The following updates are performed:
* update actions/checkout to v3
* replace unmaintained actions-rs/toolchain by dtolnay/rust-toolchain
This commit is contained in:
Dirk Stolle 2023-04-25 23:37:14 +02:00 committed by GitHub
parent ae815d13ea
commit e575b88ca1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 16 deletions

View file

@ -7,12 +7,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1 - uses: dtolnay/rust-toolchain@master
with: with:
toolchain: stable toolchain: stable
profile: minimal
components: clippy, rustfmt components: clippy, rustfmt
override: true
- name: Run clippy - name: Run clippy
run: make lint run: make lint

View file

@ -7,12 +7,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1 - uses: dtolnay/rust-toolchain@master
with: with:
toolchain: stable toolchain: stable
profile: minimal
components: clippy, rustfmt components: clippy, rustfmt
override: true
- name: Run rustfmt - name: Run rustfmt
run: make format-check run: make format-check

View file

@ -8,12 +8,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1 - uses: dtolnay/rust-toolchain@master
with: with:
toolchain: stable toolchain: stable
profile: minimal
override: true
- name: Test - name: Test
run: make test run: make test
@ -22,11 +20,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1 - uses: dtolnay/rust-toolchain@master
with: with:
toolchain: 1.41.0 toolchain: 1.41.0
profile: minimal
override: true
- name: Test - name: Test
run: cargo check --all-features run: cargo check --all-features