Skip to content

Dela purb

Dela purb #5

Workflow file for this run

name: Go lint
on:
push:
branches: [ master ]
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of Sonar analysis
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: "=1.21"
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# documentation: https://github.com/golangci/golangci-lint-action#readme
version: latest
install-mode: "binary"
- name: Lint
run: make lint
- name: Vet
run: make vet