Skip to content

Add exclude-files: section for excluding files from analysis #247

Add exclude-files: section for excluding files from analysis

Add exclude-files: section for excluding files from analysis #247

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: Test
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Check out source code
uses: actions/checkout@v4
- name: Set up Go
id: setup-go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
- name: Run lint
uses: reviewdog/action-golangci-lint@v2
- name: Run govulncheck
uses: golang/govulncheck-action@v1
with:
go-version-input: '${{ steps.setup-go.outputs.go-version }}'
check-latest: true
go-package: ./...
- name: Run gostyle
run: make gostyle
- name: Run tests
run: make ci
- name: Run octocov
uses: k1LoW/octocov-action@v1