Skip to content

Updated to v0.6.5

Updated to v0.6.5 #7

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Caching
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: go-${{ hashFiles('**/go.sum') }}
restore-keys: go-
- name: Dependencies
run: go mod vendor
- name: Checksum
run: go mod verify
- name: Codestyle
uses: golangci/golangci-lint-action@v2
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: latest
# Optional: working directory, useful for monorepos
working-directory: ./
# Optional: golangci-lint command line arguments.
args: --timeout 200s --build-tags=musl
- name: Golang Vulncheck
uses: Templum/[email protected]
with:
go-version: latest
vulncheck-version: latest
fail-on-vuln: true
package: ./...