Skip to content

CPG files and Scanner Interface #7 #38

CPG files and Scanner Interface #7

CPG files and Scanner Interface #7 #38

Workflow file for this run

name: main
on:
pull_request:
branches:
- master
push:
branches:
- master
tags:
- v*
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
with:
cache: true
- uses: golangci/golangci-lint-action@07db5389c99593f11ad7b44463c2d4233066a9b1
with:
version: v1.54.2
test:
strategy:
matrix:
go-version:
- ">=1.21.0"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
with:
cache: true
go-version: ${{ matrix.go-version }}
- name: build
run: go build ./...
- name: test
run: go test ./...