Skip to content

wrap in directory, format overrides #116

wrap in directory, format overrides

wrap in directory, format overrides #116

Workflow file for this run

name: Go
on:
pull_request:
push:
branches:
- main
permissions:
actions: none
checks: none
contents: read
deployments: none
issues: none
packages: none
pull-requests: none
repository-projects: none
security-events: none
statuses: none
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- name: Build
run: make build
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
- name: Test
run: make test
- name: Cover
run: make install-go-tools cover
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- name: lint
uses: golangci/golangci-lint-action@v4
with:
version: latest
skip-build-cache: true
skip-pkg-cache: true