name: test every commit on: - push - pull_request jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-go@v3 with: go-version-file: ./go.mod - run: go test ./...