Skip to content

Commit

Permalink
Change rust action to fix #263 (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
antimora committed Apr 8, 2023
1 parent f04fe10 commit b8283b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: install rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain
with:
profile: minimal
toolchain: stable

- name: publish to crates.io
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/test-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,13 @@ jobs:
ARGS_CLIPPY: ${{ inputs.args-clippy }}
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: install rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain
with:
profile: minimal
toolchain: stable
components: rustfmt, clippy
override: true

- name: check doc
run: |
Expand Down

0 comments on commit b8283b0

Please sign in to comment.