Skip to content

ci: add govulncheck-action #1

ci: add govulncheck-action

ci: add govulncheck-action #1

Workflow file for this run

---
name: Lint
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set version env variables
run: |
cat .version >> $GITHUB_ENV
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: "${{env.GOLANGCI_LINT_VERSION}}"