Skip to content

Commit

Permalink
rustfmt: use nightly in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalojoec committed Nov 8, 2023
1 parent 713a14f commit b78c6ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
- name: Set env vars
run: |
source ci/rust-version.sh
echo "RUST_STABLE=$rust_stable" >> $GITHUB_ENV
echo "RUST_NIGHTLY=$rust_nightly" >> $GITHUB_ENV
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.RUST_STABLE }}
toolchain: ${{ env.RUST_NIGHTLY }}
override: true
profile: minimal
components: rustfmt
Expand Down
1 change: 1 addition & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
edition = "2021"

0 comments on commit b78c6ce

Please sign in to comment.