Skip to content

Commit

Permalink
Merge pull request #92 from artichoke/lopopolo/purge-actions-rs-githu…
Browse files Browse the repository at this point in the history
…b-actions

Remove dependency on actions-rs organization GitHub Actions
  • Loading branch information
lopopolo authored Apr 11, 2023
2 parents c9607d7 + 44e8e71 commit 2a19ab1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 20 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,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 @@ -72,11 +71,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.58.0"
profile: minimal
override: true

- name: Compile
run: cargo build --verbose
Expand Down Expand Up @@ -105,21 +102,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: stable
override: true
profile: minimal
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
8 changes: 2 additions & 6 deletions .github/workflows/fuzz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,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: Install cargo-fuzz
run: cargo install cargo-fuzz
Expand All @@ -40,11 +38,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: Install cargo-fuzz
run: cargo install cargo-fuzz
Expand Down

0 comments on commit 2a19ab1

Please sign in to comment.