Skip to content

Commit

Permalink
Merge pull request #60 from siketyan/ci/use-ructions
Browse files Browse the repository at this point in the history
ci: Use ructions/* instead of actions-rs/*
  • Loading branch information
siketyan authored Jan 17, 2023
2 parents 6d99753 + 2c082f7 commit 1ce78a2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,26 @@ jobs:
- uses: Swatinem/rust-cache@v2

- name: Install latest stable
uses: actions-rs/toolchain@v1
uses: ructions/toolchain@v2
with:
toolchain: stable
override: true
components: rustfmt,clippy

- name: Run clippy
uses: actions-rs/clippy-check@v1
uses: ructions/clippy-check@v1
with:
token: ${{ github.token }}
args: --all-features

- name: Run rustfmt
uses: actions-rs/cargo@v1
uses: ructions/cargo@v1
with:
command: fmt
args: --all --check

- name: Run tests
uses: actions-rs/cargo@v1
uses: ructions/cargo@v1
with:
command: test
args: --all-features
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
submodules: true

- name: Install latest stable
uses: actions-rs/toolchain@v1
uses: ructions/toolchain@v2
with:
toolchain: stable
override: true
Expand All @@ -94,7 +94,7 @@ jobs:
key: ${{ steps.cache-key.outputs.key }}

- name: Build
uses: actions-rs/cargo@v1
uses: ructions/cargo@v1
with:
command: build
args: --release --features vendored --target '${{ matrix.target }}'
Expand Down Expand Up @@ -124,19 +124,19 @@ jobs:
- uses: Swatinem/rust-cache@v2

- name: Install latest stable
uses: actions-rs/toolchain@v1
uses: ructions/toolchain@v2
with:
toolchain: stable
override: true

- name: Log into crates.io
uses: actions-rs/cargo@v1
uses: ructions/cargo@v1
with:
command: login
args: ${{ secrets.CRATES_IO_TOKEN }}

- name: Publish to crates.io
uses: actions-rs/cargo@v1
uses: ructions/cargo@v1
with:
command: publish
args: --allow-dirty
Expand Down

0 comments on commit 1ce78a2

Please sign in to comment.