Merge pull request #51 from 2m/fix/fetch-gpg-2m #76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: ci | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
validation: | |
runs-on: ubuntu-latest | |
name: Validate a Pull Request | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run yamllint | |
uses: ibiqlik/[email protected] | |
- name: Run ShellCheck | |
uses: ludeeus/action-shellcheck@master | |
test: | |
runs-on: ubuntu-latest | |
name: Test on project | |
strategy: | |
matrix: | |
include: | |
- repo-owner: 2m | |
repo-name: ucm-bin-pkgbuild | |
pkg-name: ucm-bin | |
- repo-owner: 2m | |
repo-name: paru-pkgbuild | |
pkg-name: . | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
path: action | |
- uses: actions/checkout@v4 | |
with: | |
repository: ${{ matrix.repo-owner }}/${{ matrix.repo-name }} | |
path: ${{ matrix.repo-name }} | |
- name: srcinfo | |
uses: ./action | |
with: | |
target: srcinfo | |
pkgname: ${{ matrix.repo-name }}/${{ matrix.pkg-name }} | |
- name: pkgbuild | |
uses: ./action | |
with: | |
target: pkgbuild | |
pkgname: ${{ matrix.repo-name }}/${{ matrix.pkg-name }} |