Update all minor and patch updates #15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Make sure to enable 'Require status checks to pass before merging' on the branch protection, | |
| # and to select the 'go-test' action. | |
| name: Go Test | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| paths: | |
| - "**.go" | |
| - "go.mod" | |
| - "go.sum" | |
| jobs: | |
| go-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout master | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 | |
| - name: Set up Go | |
| uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6 | |
| with: | |
| go-version-file: "go.mod" | |
| - name: Install dependencies | |
| run: go mod download | |
| - name: Run Tests | |
| run: go test -v -race -cover ./... |