[INTG-1601]: Bump golang.org/x/text from 0.13.0 to 0.14.0 #420
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
# yamllint disable rule:line-length | |
--- | |
name: Tests | |
# yamllint disable-line rule:truthy | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened] | |
push: | |
jobs: | |
Unit-Tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 2.x | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.20' | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Test & Coverage | |
env: | |
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | |
run: | | |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter | |
chmod +x ./cc-test-reporter | |
./cc-test-reporter before-build | |
go test -coverprofile c.out.tmp -coverpkg ./... ./... | |
cat c.out.tmp | grep -v "pb.go" > c.out | |
./cc-test-reporter after-build --prefix $(go list -m) | |
- name: Upload Coverage Result Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: codeclimate-unit | |
path: codeclimate.json | |
retention-days: 1 | |
- uses: actions/setup-python@v2 | |
- name: Run pre commit linting | |
uses: pre-commit/action@v2.0.0 |