Merge pull request #879 from elgohr/dependabot/go_modules/aws-sdk-c5c… #2260
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 | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '^1.20' | |
- name: Test | |
run: go test -race -timeout 20m -coverprofile=coverage.txt -covermode=atomic ./... | |
- name: Coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
file: coverage.txt | |
release: | |
needs: [ test ] | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
permissions: | |
contents: write | |
if: ${{ github.ref == 'refs/heads/main' && github.event_name != 'pull_request' }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '^1.20' | |
- run: make install-release-tool new-patch-release |