Skip to content

Commit

Permalink
💚 Update CI to use Stable Toolchain (#88)
Browse files Browse the repository at this point in the history
* Update pr.yml

* remove +nightly in the commands now that we're using stable
  • Loading branch information
NotJeremyLiu authored Feb 6, 2024
1 parent f7a2784 commit fbd4e65
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ jobs:
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
toolchain: stable
components: clippy

- name: Run clippy
# use nightly toolchain so that we get all the latest linter features
run: cargo +nightly clippy --tests -- -D warnings
run: cargo clippy --tests -- -D warnings

format:
name: Format
Expand All @@ -71,12 +71,12 @@ jobs:
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
toolchain: stable
components: rustfmt

- name: Run format
# use nightly toolchain so that we get all the latest formatting features
run: cargo +nightly fmt --check
run: cargo fmt --check

schema:
name: Schema
Expand All @@ -88,12 +88,12 @@ jobs:
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
toolchain: stable

- name: Run schema diff check
# use nightly toolchain so that we get all the latest formatting features
run: |
cargo +nightly run --package skip-api-entry-point --bin schema
cargo run --package skip-api-entry-point --bin schema
if [[ `git status --porcelain` ]]; then
echo "Schema is different, please run make schema"
exit 1
Expand Down

0 comments on commit fbd4e65

Please sign in to comment.