Bump golang.org/x/text from 0.13.0 to 0.14.0 #281
Workflow file for this run
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: build and test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
go: | |
# Drop support of go 1.17 | |
- "1.18" | |
- "1.19" | |
- "1.20" | |
name: run tests with go version ${{ matrix.go }} | |
steps: | |
- name: install go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: checkout code | |
uses: actions/checkout@v4 | |
- name: Build | |
run: make build | |
- name: Test | |
env: | |
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }} | |
run: | | |
make cover | |
if [[ -n "$COVERALLS_TOKEN" ]]; then | |
make coveralls | |
fi | |
- name: Upload coverage | |
uses: actions/upload-artifact@v3 | |
with: | |
name: coverage | |
path: coverage.* | |
- name: Assert no changes | |
run: make assert-no-changes |