Skip to content

Commit

Permalink
Update GitHub Actions CI (#291)
Browse files Browse the repository at this point in the history
* update actions/checkout to v3
* update actions/cache to v3
* update actions/upload-artifact to v3
* replace unmaintained actions-rs/toolchain by dtolnay/rust-toolchain
  • Loading branch information
striezel authored Apr 23, 2023
1 parent 3531755 commit dd283d3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,16 @@ jobs:
release-name: Leafish.app

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install Rust
id: toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: clippy, rustfmt
default: true

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
Expand Down Expand Up @@ -81,7 +80,7 @@ jobs:
zip -r Leafish.app.zip Leafish.app
- name: Upload binary
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.release-name }}
path: target/release/${{ matrix.target-name }}
Expand Down

0 comments on commit dd283d3

Please sign in to comment.