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.

main.yml 316B

1234567891011121314151617
  1. name: Main
  2. on:
  3. - pull_request
  4. - push
  5. jobs:
  6. test:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - uses: actions/checkout@v2
  10. - uses: actions/setup-go@v2
  11. with:
  12. go-version: "^1.17.3"
  13. - name: Check Formatting
  14. run: gofmt -d -e .
  15. - name: Tests
  16. run: go test -v ./...