Add golangci-lint test workflow

This commit is contained in:
ditatompel 2024-05-24 05:38:58 +07:00
parent c25e9224b6
commit 1ece270c00
No known key found for this signature in database
GPG key ID: 31D3D06D77950979

19
.github/workflows/workflow.yml vendored Normal file
View file

@ -0,0 +1,19 @@
on:
push:
branches:
- main
pull_request:
name: Test
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.22.x
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: latest