replace unmaintained actions-rs/* actions in CI workflows (#79)

This commit is contained in:
Dirk Stolle 2023-06-11 21:01:44 +02:00 committed by Connor Skees
parent beb64abac4
commit 18131c10ad

View File

@ -12,11 +12,9 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@master uses: actions/checkout@master
- uses: actions-rs/toolchain@v1 - uses: dtolnay/rust-toolchain@master
with: with:
profile: minimal
toolchain: nightly toolchain: nightly
override: true
- name: version info - name: version info
run: rustc --version; cargo --version; run: rustc --version; cargo --version;
@ -30,16 +28,11 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@master uses: actions/checkout@master
- uses: actions-rs/toolchain@v1 - uses: dtolnay/rust-toolchain@master
with: with:
profile: minimal
toolchain: stable toolchain: stable
override: true
- uses: actions-rs/cargo@v1 - run: cargo fmt --all -- --check
with:
command: fmt
args: --all -- --check
clippy: clippy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -47,16 +40,11 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@master uses: actions/checkout@master
- uses: actions-rs/toolchain@v1 - uses: dtolnay/rust-toolchain@master
with: with:
profile: minimal
toolchain: stable toolchain: stable
override: true
- uses: actions-rs/cargo@v1 - run: cargo clippy --features=macro -- -D warnings
with:
command: clippy
args: --features=macro -- -D warnings
boostrap: boostrap:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -64,11 +52,9 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@master uses: actions/checkout@master
- uses: actions-rs/toolchain@v1 - uses: dtolnay/rust-toolchain@master
with: with:
profile: minimal
toolchain: stable toolchain: stable
override: true
- name: Build - name: Build
run: cargo build run: cargo build
@ -100,11 +86,9 @@ jobs:
# steps: # steps:
# - name: Checkout # - name: Checkout
# uses: actions/checkout@master # uses: actions/checkout@master
# - uses: actions-rs/toolchain@v1 # - uses: dtolnay/rust-toolchain@master
# with: # with:
# profile: minimal
# toolchain: stable # toolchain: stable
# override: true
# - name: version info # - name: version info
# run: rustc --version; cargo --version; # run: rustc --version; cargo --version;
# - name: Build binary # - name: Build binary