fix(deps): update dependencies #133
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: test | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: | |
- '1.21.x' | |
- '1.22.x' | |
- '1.23.x' | |
platform: [ubuntu-latest] | |
name: test | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: checkout the code | |
uses: actions/checkout@v4 | |
- name: setup go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: unshallow | |
run: git fetch --prune --unshallow | |
- name: golanci-linter | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.60.3 | |
- name: run unit tests | |
run: make test | |
- name: upload code coverage | |
uses: codecov/codecov-action@v4 | |
if: contains(github.ref, 'main') | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./cover.out |