Skip to content

Commit 8046b96

Browse files
author
Markus Schwer
committed
add checks workflow
1 parent e4f9794 commit 8046b96

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/checks.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Checks
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
defaults:
10+
run:
11+
shell: bash
12+
13+
env:
14+
GO_VERSION: "1.24.1"
15+
GOLANG_CI_VERSION: v1.64.7
16+
17+
jobs:
18+
lint:
19+
name: Lint files
20+
runs-on: 'ubuntu-latest'
21+
steps:
22+
- uses: actions/setup-go@v5
23+
with:
24+
go-version: ${{ env.GO_VERSION }}
25+
cache: false
26+
- uses: actions/checkout@v4
27+
- name: lint
28+
uses: golangci/golangci-lint-action@v6
29+
with:
30+
version: ${{ env.GOLANG_CI_VERSION }}

0 commit comments

Comments
 (0)