Skip to content

Commit

Permalink
update CI jobs (#457)
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleades authored Nov 29, 2023
1 parent eb5b768 commit d369704
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 16 deletions.
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ updates:
directory: "/"
schedule:
interval: daily
ignore:
- dependency-name: dtolnay/rust-toolchain
25 changes: 9 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }}
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}

- name: Install Cap'n Proto
run: |
Expand Down Expand Up @@ -65,11 +66,8 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@nightly
with:
profile: minimal
toolchain: nightly
override: true
components: miri

- name: Setup miri
Expand Down Expand Up @@ -108,8 +106,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install Rust
run: rustup update ${{ env.minrust }} --no-self-update && rustup default ${{ env.minrust }}
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.minrust }}

- name: Install Cap'n Proto
run: |
Expand All @@ -134,13 +133,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly
override: true
profile: minimal
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check --unstable-features --error-on-unformatted
- run: cargo fmt --all -- --check --unstable-features --error-on-unformatted

0 comments on commit d369704

Please sign in to comment.