Skip to content

Merge pull request #282 from okp4/dependabot/go_modules/github.com/ha… #627

Merge pull request #282 from okp4/dependabot/go_modules/github.com/ha…

Merge pull request #282 from okp4/dependabot/go_modules/github.com/ha… #627

Workflow file for this run

name: Test
on:
workflow_call:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true
jobs:
test-go:
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Setup Go environment
uses: actions/[email protected]
with:
go-version: "1.19"
- name: Test go project
run: |
make test-go
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
if: github.actor != 'dependabot[bot]'
with:
files: ./target/coverage.out
env_vars: OS,GOLANG
fail_ci_if_error: false
verbose: true