Skip to content

Commit

Permalink
actions-rust-lang/setup-rust-toolchain@v1, which has problem checker
Browse files Browse the repository at this point in the history
  • Loading branch information
amika-sq committed Dec 1, 2023
1 parent 6f3bb3f commit 24fe4fa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ matrix.rust }}
- name: Build
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/rustfmt.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
on: pull_request

name: Rustfmt

on:
push:
branches:
- main
pull_request:
branches:
- '*'

jobs:
format:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
- name: Setup Rustfmt
uses: dtolnay/rust-toolchain@stable
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- name: Rustfmt Check
Expand Down

0 comments on commit 24fe4fa

Please sign in to comment.