Skip to content

Commit

Permalink
fix: permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
edfloreshz authored Sep 7, 2024
1 parent 5b4f05b commit b933060
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ env:

jobs:
build:

runs-on: ubuntu-latest

permissions:
checks: write
pull-requests: write
steps:
- name: Install depencencies
run: sudo apt-get install -y libxkbcommon-dev
Expand All @@ -22,15 +23,12 @@ jobs:
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: rust-clippy-check
uses: actions-rs/clippy-check@v1.0.7
- name: clippy
uses: auguwu/clippy-action@1.4.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
toolchain: stable
name: clippy
- name: rust-rustfmt-check
uses: mbrobbel/rustfmt-check@0.14.0
- name: format
uses: mbrobbel/rustfmt-check@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore: format"

mode: review

0 comments on commit b933060

Please sign in to comment.