chore(deps): update golang docker tag to v1.20.7 #32
This file contains 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
name: Test Runner | |
on: | |
# trigger on any push to any branch | |
push: | |
branches: | |
- '*' | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v3 | |
- name: "Cache Go Modules" | |
uses: actions/cache@v3 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: "Setup Go" | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '>=1.19' | |
- name: "Run Tests" | |
run: go test -v -race -coverprofile=coverage.out -covermode=atomic ./... | |
- name: "Codecov: Upload Coverage" | |
uses: codecov/codecov-action@v3 | |
with: | |
fail_ci_if_error: true |