From 53a90261b9a54aa56cfaa7feb4166656739d73f1 Mon Sep 17 00:00:00 2001 From: Eduardo Flores Date: Mon, 4 Nov 2024 13:11:47 +0000 Subject: [PATCH] fix: CI --- .github/workflows/pr.yml | 25 ++++++++++--------------- .github/workflows/push.yml | 24 ++++++++++-------------- 2 files changed, 20 insertions(+), 29 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 3a9ef20..e87e35d 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -2,7 +2,7 @@ name: Pull request on: pull_request: - branches: [ "main" ] + branches: ["main"] env: CARGO_TERM_COLOR: always @@ -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/clippy-action@1.4.0 - 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/clippy-action@1.4.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 445d2b0..4b9f1b7 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -2,7 +2,7 @@ name: Push on: push: - branches: [ "main" ] + branches: ["main"] env: CARGO_TERM_COLOR: always @@ -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/clippy-action@1.4.0 - 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/clippy-action@1.4.0 + with: + token: ${{ secrets.GITHUB_TOKEN }}