-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (50 loc) · 1.73 KB
/
checks.yaml
File metadata and controls
52 lines (50 loc) · 1.73 KB
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
################################################################################
# This file is AUTOGENERATED with <https://github.com/sapcc/go-makefile-maker> #
# Edit Makefile.maker.yaml instead. #
################################################################################
# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company
# SPDX-License-Identifier: Apache-2.0
name: Checks
"on":
push:
branches:
- main
pull_request:
branches:
- '*'
workflow_dispatch: {}
permissions:
checks: write
contents: read
jobs:
checks:
name: Checks
runs-on: large_runner_16core_64gb
steps:
- name: Check out code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
with:
check-latest: true
go-version: 1.26.4
- name: Run golangci-lint
uses: golangci/golangci-lint-action@82606bf257cbaff209d206a39f5134f0cfbfd2ee # v9
with:
version: v2.12.2
- name: Delete pre-installed shellcheck
run: sudo rm -f "$(which shellcheck)"
- name: Run shellcheck
run: make run-shellcheck
- name: Dependency Licenses Review
run: make check-dependency-licenses
- name: Check for spelling errors
uses: crate-ci/typos@44e2070e6017f834bf069503acb35ca0ca0b75f2 # v1
env:
CLICOLOR: "1"
- name: Check if source code files have license header
run: make check-addlicense
- name: REUSE Compliance Check
uses: fsfe/reuse-action@676e2d560c9a403aa252096d99fcab3e1132b0f5 # v6