Skip to content

Merge pull request #53 from navidys/golangci_lint_update #86

Merge pull request #53 from navidys/golangci_lint_update

Merge pull request #53 from navidys/golangci_lint_update #86

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
jobs:
unit_test:
name: Unit test
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.22
uses: actions/setup-go@v1
with:
go-version: 1.22
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
export GOBIN=$(pwd)/bin/
make .install.ginkgo
- name: Generate coverage report
run: |
export GOBIN=$(pwd)/bin/
make test-unit
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
file: .coverage/coverprofile
name: codecov-umbrella
fail_ci_if_error: true