Skip to content

Commit

Permalink
[CI] Temporarily stop using mbrobbel/rustfmt-check
Browse files Browse the repository at this point in the history
  • Loading branch information
ilai-deutel authored and joshka committed Nov 20, 2024
1 parent b055d55 commit 066c1c0
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ on:
branches:
- master
paths:
- '**.rs'
- '.github/workflows/ci.yml'
- "**.rs"
- ".github/workflows/ci.yml"
pull_request:
branches:
- master
paths:
- '**.rs'
- '.github/workflows/ci.yml'
- "**.rs"
- ".github/workflows/ci.yml"

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -168,14 +168,7 @@ jobs:
targets: ${{ matrix.target }}
components: rustfmt, clippy
- name: Format
if: ${{ github.event_name == 'pull_request' && matrix.target == 'x86_64-unknown-linux-gnu' }}
uses: mbrobbel/rustfmt-check@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
mode: review
args: --package kibi
- name: Format
if: ${{ github.event_name != 'pull_request' || matrix.target == 'x86_64-unknown-linux-gnu' }}
if: ${{ matrix.target == 'x86_64-unknown-linux-gnu' }}
run: cargo fmt --check
- name: Set up cargo-action-fmt
if: ${{ github.event_name == 'pull_request' && matrix.target == 'x86_64-unknown-linux-gnu' }}
Expand Down

0 comments on commit 066c1c0

Please sign in to comment.