1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2026-06-15 17:53:34 +00:00

github actions: add missing Go linter (#428)

This commit is contained in:
James Hillyerd
2023-11-13 12:30:32 -08:00
committed by GitHub
parent e56638cbac
commit d304cbd88b
+20
View File
@@ -0,0 +1,20 @@
name: Lint Go Code
on:
push:
branches:
- main
pull_request:
jobs:
golangci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest