Skip to content

Improve usage examples #49

Improve usage examples

Improve usage examples #49

Workflow file for this run

---
name: 'Lint'
on:
push:
paths-ignore:
- '.editorconfig'
- '.gitignore'
- '.golangci.toml'
- '.builds/'
- 'words/'
- 'LICENSE.md'
- 'README.md'
pull_request:
paths-ignore:
- '.editorconfig'
- '.gitignore'
- '.golangci.toml'
- '.builds/'
- 'words/'
- 'LICENSE.md'
- 'README.md'
permissions:
contents: 'read'
jobs:
go:
name: 'Lint Go files'
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v3'
- name: 'Setup Go environment'
uses: 'actions/setup-go@v4'
with:
go-version: '>=1.20.3'
- name: 'Download project dependencies'
run: 'make init'
- name: 'Run govulncheck'
run: 'make vulnerabilities'
- name: 'Run golangci-lint'
run: 'make lint'