Skip to content

Commit

Permalink
update ci (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
smmoosavi authored May 30, 2024
1 parent be545a8 commit 8c2ad68
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:

env:
RUST_BACKTRACE: 1
NIGHTLY_VERSION: nightly-2023-03-19
NIGHTLY_VERSION: nightly-2024-05-28


jobs:
Expand All @@ -25,18 +25,19 @@ jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@v1
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: clippy

- run: cargo clippy --workspace -- -D warnings
- run: cargo clippy --workspace --tests -- -D warnings

rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: $NIGHTLY_VERSION
Expand All @@ -51,8 +52,8 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@v1
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable

Expand All @@ -68,7 +69,7 @@ jobs:
rustdoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: $NIGHTLY_VERSION
Expand Down

0 comments on commit 8c2ad68

Please sign in to comment.