Skip to content

Commit

Permalink
Merge pull request #357 from striezel-stash/ci-actions-update
Browse files Browse the repository at this point in the history
update GitHub Actions CI
  • Loading branch information
tafia authored Sep 18, 2023
2 parents 7c12f62 + 7f0b213 commit ffb6fb4
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@ jobs:
- beta
- nightly
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
profile: minimal
override: true
- name: Toolchain version
run: |
cargo -vV
Expand All @@ -31,12 +29,10 @@ jobs:
run: |
cargo test --features dates
- name: Install rustfmt
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
if: ${{ matrix.toolchain == 'stable' }}
with:
toolchain: ${{ matrix.toolchain }}
profile: minimal
override: true
components: rustfmt
- name: Format checks
if: ${{ matrix.toolchain == 'stable' }}
Expand Down

0 comments on commit ffb6fb4

Please sign in to comment.