Skip to content

Commit

Permalink
fix: CI
Browse files Browse the repository at this point in the history
  • Loading branch information
edfloreshz committed Nov 4, 2024
1 parent 46ea397 commit 53a9026
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 29 deletions.
25 changes: 10 additions & 15 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Pull request

on:
pull_request:
branches: [ "main" ]
branches: ["main"]

env:
CARGO_TERM_COLOR: always
Expand All @@ -14,17 +14,12 @@ jobs:
checks: write
pull-requests: write
steps:
- name: Install depencencies
run: sudo apt-get install -y libxkbcommon-dev
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: clippy
uses: auguwu/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: format
uses: mbrobbel/rustfmt-check@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
mode: review
- name: Install depencencies
run: sudo apt-get install -y libxkbcommon-dev
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: clippy
uses: auguwu/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
24 changes: 10 additions & 14 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Push

on:
push:
branches: [ "main" ]
branches: ["main"]

env:
CARGO_TERM_COLOR: always
Expand All @@ -14,16 +14,12 @@ jobs:
checks: write
pull-requests: write
steps:
- name: Install depencencies
run: sudo apt-get install -y libxkbcommon-dev
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: clippy
uses: auguwu/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: format
uses: mbrobbel/rustfmt-check@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install depencencies
run: sudo apt-get install -y libxkbcommon-dev
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: clippy
uses: auguwu/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 53a9026

Please sign in to comment.