build(deps): bump golang.org/x/text from 0.13.0 to 0.14.0 #35
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: Go Test | |
on: | |
push: | |
branches: [ 1.x, 2.x, feature/* ] | |
pull_request: | |
branches: [ 1.x, 2.x ] | |
env: | |
GOPROXY: "https://proxy.golang.org" | |
jobs: | |
test: | |
name: "go test" | |
strategy: | |
matrix: | |
go-version: [ 1.18.x, 1.19.x, 1.20.x, 1.21.x ] | |
platform: [ ubuntu-latest ] | |
runs-on: ${{ matrix.platform }} | |
services: | |
redis: | |
image: redis | |
options: >- | |
--health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5 | |
ports: | |
- 6379:6379 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
cache: true | |
cache-dependency-path: ./go.sum | |
- run: go version | |
- name: Run tests | |
run: go test ./... -v -covermode=atomic -race -coverprofile=coverage.txt | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 |