-
Notifications
You must be signed in to change notification settings - Fork 633
53 lines (50 loc) · 1.33 KB
/
lint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: lint
on:
push:
branches:
- main
- 'release/**'
pull_request:
jobs:
go:
timeout-minutes: 5
name: "go | ${{ matrix.goos }} | ${{ matrix.goversion }}"
runs-on: "${{ matrix.os }}"
strategy:
matrix:
include:
- os: ubuntu-24.04
goos: linux
goversion: latest-stable
- os: ubuntu-24.04
goos: freebsd
goversion: latest-stable
# FIXME: this is currently failing in a non-sensical way, so, running on linux instead...
# - os: windows-2022
- os: ubuntu-24.04
goos: windows
goversion: latest-stable
- os: ubuntu-24.04
goos: linux
goversion: canary
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 1
- name: "Run go linters"
uses: ./.github/actions/lint-go
with:
strategy: ${{ matrix.goversion }}
goos: ${{ matrix.goos }}
other:
timeout-minutes: 5
name: yaml | shell
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 1
- name: yaml
run: make lint-yaml
- name: shell
run: make lint-shell