Skip to content

Commit

Permalink
fix: changed from actions-rs to a more maintained CI alternative
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Aug 21, 2024
1 parent 6d3f509 commit 01664ba
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,37 +46,24 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/toolchain@v1
- uses: actions-rust-lang/setup-rust-toolchain@v1.9.0
with:
profile: minimal
toolchain: stable
components: clippy
override: true
- name: Clippy check
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
run: cargo +nightly clippy --all-features

fmt:
name: Rustfmt check
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/toolchain@v1
- uses: actions-rust-lang/setup-rust-toolchain@v1.9.0
with:
profile: minimal
toolchain: stable
components: rustfmt
override: true
- name: Rustfmt check
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- run: cargo +nightly fmt --all -- --check

prlint:
name: PR name check
Expand Down

0 comments on commit 01664ba

Please sign in to comment.