Skip to content

Added a linting job that triggers on PR events #6

Added a linting job that triggers on PR events

Added a linting job that triggers on PR events #6

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

Check failure on line 19 in .github/workflows/linting.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/linting.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
go mod download
- name: Run golangci-lint
uses: golangci/[email protected]