yay/.github/workflows/testing.yml

28 lines
651 B
YAML
Raw Normal View History

name: Test against pacman
on:
pull_request:
paths-ignore:
- "doc/**"
- "**/*.po"
- "README.md"
- ".gitignore"
jobs:
build:
2020-02-28 00:08:35 +01:00
name: Lint and test yay
runs-on: ubuntu-latest
container:
2020-09-08 00:02:28 +02:00
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-
2020-09-08 00:02:28 +02:00
- name: Lint
run: /app/bin/golangci-lint run ./...
- name: Run Build and Tests
run: make test