Skip to content

build: use exp slog to support go 1.20 (#37) #113

build: use exp slog to support go 1.20 (#37)

build: use exp slog to support go 1.20 (#37) #113

Workflow file for this run

name: go unit test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
go_unit_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Run coverage
run: go test ./... -coverpkg=./opcua/... -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}