Skip to content

Commit

Permalink
ci: reduce warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieC3 committed Jul 25, 2023
1 parent 97bf97a commit 46b6764
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 21 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/audit-format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,10 @@ jobs:
uses: actions/checkout@v3

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: rustfmt
override: true
run: |
rustup set profile minimal
rustup toolchain install stable --component rustfmt
rustup override set stable
- name: Cache cargo
id: cache-cargo
Expand Down
26 changes: 11 additions & 15 deletions .github/workflows/ci-clarinet-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install Rust toolchain stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: llvm-tools-preview
override: true
- name: Install Rust toolchain
run: |
rustup set profile minimal
rustup toolchain install stable --component llvm-tools-preview
rustup override set stable
- name: Cache cargo
id: cache-cargo
Expand Down Expand Up @@ -186,14 +184,12 @@ jobs:
uses: actions/checkout@v3

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.target }}
profile: minimal
components: llvm-tools-preview
override: true

run: |
rustup set profile minimal
rustup toolchain install stable --component llvm-tools-preview
rustup override set stable
rustup target add --toolchain stable ${{ matrix.target }}
- name: Cache cargo
id: cache-cargo
uses: actions/cache@v3
Expand Down

0 comments on commit 46b6764

Please sign in to comment.