Skip to content

Commit

Permalink
Remove dependency on actions-rs organization GitHub Actions
Browse files Browse the repository at this point in the history
These actions are unmaintained and use deprecated GitHub Actions technologies.

See: artichoke/project-infrastructure#265
  • Loading branch information
lopopolo committed Apr 11, 2023
1 parent d62e8b4 commit 80747c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/bench.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ jobs:
uses: actions/checkout@v3

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
uses: artichoke/setup-rust/build-and-test@v1
with:
toolchain: nightly
profile: minimal
override: true

- name: Compile
run: cargo build --verbose
Expand Down
19 changes: 5 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ jobs:
uses: actions/checkout@v3

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
uses: artichoke/setup-rust/build-and-test@v1
with:
toolchain: stable
profile: minimal

- name: Compile
run: cargo build --verbose
Expand Down Expand Up @@ -56,11 +55,9 @@ jobs:
uses: actions/checkout@v3

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
uses: artichoke/setup-rust/build-and-test@v1
with:
toolchain: "1.47.0"
profile: minimal
override: true

- name: Compile
run: cargo build --verbose
Expand Down Expand Up @@ -93,21 +90,15 @@ jobs:
uses: actions/checkout@v3

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
uses: artichoke/setup-rust/lint-and-format@v1
with:
toolchain: nightly
profile: minimal
override: true
components: rustfmt, clippy

- name: Check formatting
run: cargo fmt -- --check --color=auto
run: cargo fmt --check

- name: Lint with Clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --all-targets
run: cargo clippy --workspace --all-features --all-targets

ruby:
name: Lint and format Ruby
Expand Down

0 comments on commit 80747c9

Please sign in to comment.