Skip to content

config file provided before command (#458) #1525

config file provided before command (#458)

config file provided before command (#458) #1525

Workflow file for this run

name: Go
on: [push]
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: ["1.22"]
os:
- ubuntu-latest
- windows-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
id: go
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Test
run: go test -v -coverprofile=coverage -covermode=atomic ./...
- name: Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage
flags: unittests
fail_ci_if_error: false