Skip to content

Commit

Permalink
chore: Update runners
Browse files Browse the repository at this point in the history
  • Loading branch information
EthenNotEthan committed Aug 20, 2024
1 parent 3f07e19 commit e2aa42c
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,30 @@ on:
branches: [ "main" ]

jobs:
golangci:
lint:
# Linting job
# https://github.com/golangci/golangci-lint-action
name: lint
name: Lint
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
cache: false # managed by golangci-lint

- uses: golangci/golangci-lint-action@v3
name: Install golangci-lint
with:
version: latest
args: --help # make lint will run the linter

- run: make lint
name: Lint

go-sec:
runs-on: ubuntu-latest
Expand Down

0 comments on commit e2aa42c

Please sign in to comment.