docker-ci.yml 639 B

12345678910111213141516171819202122232425
  1. name: Build
  2. # This workflow is triggered on pushes to the repository.
  3. on:
  4. push:
  5. paths-ignore:
  6. - "doc/**"
  7. - "README.md"
  8. - ".gitignore"
  9. pull_request:
  10. jobs:
  11. build:
  12. name: Lint and test yay
  13. # This job runs on Linux
  14. runs-on: ubuntu-latest
  15. container: samip537/archlinux:devel
  16. steps:
  17. - name: Checkout
  18. uses: actions/checkout@v2
  19. - name: Run Build and tests
  20. run: |
  21. pacman -Sy --noconfirm go
  22. curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.25.1
  23. ./bin/golangci-lint run ./...
  24. make test