Skip to content

Commit

Permalink
env test
Browse files Browse the repository at this point in the history
  • Loading branch information
AndWeHaveAPlan authored Oct 1, 2024
1 parent ddecf37 commit 5ccce92
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tag-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:

env:
CARGO_INCREMENTAL: 0
RUST_TOOLCHAIN: "1.70.0"
RUST_TOOLCHAIN_NIGHTLY: "nightly-2023-05-22"


jobs:
Expand Down Expand Up @@ -39,11 +41,11 @@ jobs:

- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: "1.70.0, nightly"
toolchain: "${{ env.RUST_TOOLCHAIN }}, ${{ env.RUST_TOOLCHAIN_NIGHTLY }}"
components: "rustfmt, clippy"

- name: fmt
run: cargo +nightly fmt --all -- --check
run: cargo +${{ env.RUST_TOOLCHAIN_NIGHTLY }} fmt --all -- --check
- name: clippy
run: cargo clippy --all --verbose

Expand Down

0 comments on commit 5ccce92

Please sign in to comment.