Skip to content

Added a linting job that triggers on PR events #5

Added a linting job that triggers on PR events

Added a linting job that triggers on PR events #5

Workflow file for this run

name: Linting
on:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21.1'
- name: Install dependencies
run: go mod tidy
- name: Install dependencies
run: go mod download
- name: Run golangci-lint
uses: golangci/[email protected]