yay/.github/workflows/docker-ci.yml

26 lines
634 B
YAML
Raw Normal View History

2020-01-12 16:16:04 +01:00
name: Build
# This workflow is triggered on pushes to the repository.
on:
push:
paths-ignore:
- 'doc/**'
2020-01-12 16:16:04 +01:00
- 'README.md'
- '.gitignore'
pull_request:
jobs:
build:
2020-02-28 00:08:35 +01:00
name: Lint and test yay
# This job runs on Linux
runs-on: ubuntu-latest
2020-02-28 00:08:35 +01:00
container: samip537/archlinux:devel
steps:
- name: Checkout
2020-02-28 00:08:35 +01:00
uses: actions/checkout@v1
- name: Run Build and tests
2020-02-28 00:08:35 +01:00
run: |
pacman -Sy --noconfirm go
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.23.6
./bin/golangci-lint run ./...
make test