mirror of
https://github.com/Jguer/yay.git
synced 2024-11-07 01:27:21 +01:00
ae01f8e4a0
* only run on PRs * prefer manual tags * add defaults for tests * cuddle assignment
28 lines
651 B
YAML
28 lines
651 B
YAML
name: Test against pacman
|
|
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- "doc/**"
|
|
- "**/*.po"
|
|
- "README.md"
|
|
- ".gitignore"
|
|
|
|
jobs:
|
|
build:
|
|
name: Lint and test yay
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: jguer/yay-builder:latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- uses: actions/cache@v1
|
|
with:
|
|
path: ~/go/pkg/mod
|
|
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-go-
|
|
- name: Lint
|
|
run: /app/bin/golangci-lint run ./...
|
|
- name: Run Build and Tests
|
|
run: make test |