Skip to content

fix(deps): update github.com/opiproject/opi-api digest to 02d3827 #407

fix(deps): update github.com/opiproject/opi-api digest to 02d3827

fix(deps): update github.com/opiproject/opi-api digest to 02d3827 #407

Workflow file for this run

name: Go
on:
workflow_dispatch:
workflow_call:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go-version: [ '1.18', '1.19', '1.20', '1.21' ]
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Build
run: go build -v ./...
working-directory: cmd
- name: Test
run: go test -race -coverprofile=coverage.out -covermode=atomic -v ./...
working-directory: .
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3