Skip to content

Commit

Permalink
use this github action
Browse files Browse the repository at this point in the history
  • Loading branch information
float3 committed Apr 2, 2024
1 parent 5035735 commit 0abc72b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,7 @@ jobs:
token: ${{ secrets.github_token }}
submodules: recursive

- name: rust
run: |
curl --proto '=https' --tlsv1.2 -ssf https://sh.rustup.rs -o rustup.sh
sh rustup.sh --default-toolchain nightly --profile minimal -y
rustup component add rustfmt clippy --toolchain nightly
source "$home/.cargo/env"
rustup update
- uses: dtolnay/rust-toolchain@nightly

- name: render
run: |
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,7 @@ jobs:
token: ${{ secrets.github_token }}
submodules: recursive

- name: rust
run: |
curl --proto '=https' --tlsv1.2 -ssf https://sh.rustup.rs -o rustup.sh
sh rustup.sh --default-toolchain nightly --profile minimal -y
rustup component add rustfmt clippy --toolchain nightly
source "$home/.cargo/env"
rustup update
- uses: dtolnay/rust-toolchain@nightly

- name: test
run: |
Expand Down

0 comments on commit 0abc72b

Please sign in to comment.