Skip to content

Commit

Permalink
ci: Add job to check PKGBUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
donovanglover committed Oct 29, 2023
1 parent 5a0e3fa commit 00c9b4a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: cargo
name: ci

on:
push:
Expand All @@ -12,22 +12,36 @@ env:

jobs:
build:
name: cargo build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo build
test:
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo test
format:
name: cargo fmt --check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo fmt --check
clippy:
name: cargo clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo clippy
pkgbuild:
name: makepkg -si
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- id: makepkg
uses: edlanglois/pkgbuild-action@v1
- run: |
echo "Successfully created the following package archive"
echo "Package: ${{ steps.makepkg.outputs.pkgfile0 }}"

0 comments on commit 00c9b4a

Please sign in to comment.