Skip to content

Commit

Permalink
Merge pull request #36 from louib/migrate-rust-action
Browse files Browse the repository at this point in the history
ci: migrate to a maintained rust action
  • Loading branch information
louib authored Jun 14, 2024
2 parents 9286a16 + 9cc4171 commit 71455fc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt
- name: run cargo test
run: cargo test

Expand All @@ -36,11 +35,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt
- name: running rustfmt
run: |
files=$(find . -name '*.rs')
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt
- name: run cargo test
run: cargo test --all-features

Expand Down

0 comments on commit 71455fc

Please sign in to comment.