Skip to content

Commit

Permalink
only pin nightly for cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed Jun 13, 2024
1 parent c49fc79 commit 93483ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:
- main
pull_request_target:
types: [opened, synchronize]
# pull_request:
# branches:
# - main
# pull_request:
# branches:
# - main

concurrency:
group: ci-${{ github.head_ref || github.ref_name }}
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:

- name: Add wasm toolchain
run: |
rustup update nightly-2024-05-20
rustup update nightly
rustup target add wasm32-unknown-unknown --toolchain nightly
rustup target add wasm32-unknown-unknown
rustup component add rust-src
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:

- name: Add wasm toolchain
run: |
rustup update nightly-2024-05-20
rustup update nightly
rustup target add wasm32-unknown-unknown --toolchain nightly
rustup target add wasm32-unknown-unknown
rustup component add rust-src
Expand All @@ -154,7 +154,7 @@ jobs:
components: rustfmt

- name: Cargo fmt
run: cargo +nightly fmt --all --check
run: cargo +nightly-2024-05-20 fmt --all --check

unit-tests:
name: Unit Tests
Expand Down Expand Up @@ -198,7 +198,7 @@ jobs:

- name: Add wasm toolchain
run: |
rustup update nightly-2024-05-20
rustup update nightly
rustup target add wasm32-unknown-unknown --toolchain nightly
rustup target add wasm32-unknown-unknown
rustup component add rust-src
Expand Down Expand Up @@ -247,7 +247,7 @@ jobs:

- name: Add wasm toolchain
run: |
rustup update nightly-2024-05-20
rustup update nightly
rustup target add wasm32-unknown-unknown --toolchain nightly
rustup target add wasm32-unknown-unknown
rustup component add rust-src
Expand Down
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

0 comments on commit 93483ff

Please sign in to comment.