Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 6 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,9 @@ jobs:
fetch-depth: 1

- name: Install rust beta toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: beta
profile: minimal
override: true
components: rustfmt
run: |
rustup toolchain install beta --profile minimal --component rustfmt
rustup default beta

- name: Check formatting of all crates
run: cargo fmt --all -- --check
Expand Down Expand Up @@ -78,11 +75,9 @@ jobs:
fetch-depth: 1

- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
profile: minimal
override: true
run: |
rustup toolchain install ${{ matrix.rust }} --profile minimal
rustup default ${{ matrix.rust }}

- name: Build polonius
run: cargo build
Expand Down
Loading