Skip to content

fix(deps): update module github.com/masterminds/semver/v3 to v3.3.0 #241

fix(deps): update module github.com/masterminds/semver/v3 to v3.3.0

fix(deps): update module github.com/masterminds/semver/v3 to v3.3.0 #241

Workflow file for this run

name: test
on:
pull_request:
push:
branches:
- main
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
runs-on: ${{ matrix.os }}
name: build & test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: build
run: go build .
- name: test
run: go test -v -race -coverprofile="coverage.txt" -covermode=atomic ./...
- name: upload coverage to codecov
uses: codecov/codecov-action@v4