This repository was archived by the owner on Oct 20, 2025. It is now read-only.
replacement_scan: Add string list parameter support #106
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tidy Checks | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
linter: | |
name: Golangci-lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
cache: false | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v8 | |
with: | |
version: latest | |
coverage: | |
name: Go Test Coverage | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
- name: Generate Test Coverage | |
run: | | |
go test ./... -coverprofile=./cover.out -covermode=atomic -coverpkg=./... | |
go tool cover -html=cover.out -o=cover.html | |
- name: Check Test Coverage | |
uses: vladopajic/go-test-coverage@v2 | |
with: | |
config: ./.github/testcoverage.yml | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Cover_out | |
path: | | |
cover.out | |
- uses: actions/upload-artifact@v4 | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Cover_html | |
path: | | |
cover.html |