You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

push.yml 583B

10 months ago
12345678910111213141516171819202122232425262728293031
  1. name: Run tests
  2. on:
  3. push:
  4. branches:
  5. - master
  6. pull_request:
  7. branches:
  8. - master
  9. jobs:
  10. test-package:
  11. name: Test
  12. runs-on: ubuntu-latest
  13. steps:
  14. - name: Set up Go 1.13
  15. uses: actions/setup-go@v1
  16. with:
  17. go-version: 1.13
  18. id: go
  19. - name: Check out code
  20. uses: actions/checkout@v1
  21. - name: Get dependencies
  22. run: go mod download
  23. - name: Tests
  24. run: go test
  25. # - name: Version bump
  26. # if: github.ref == "master"
  27. # run: "automatically bump the version here"