forked from sprintertech/sygma-relayer
-
Notifications
You must be signed in to change notification settings - Fork 1
28 lines (24 loc) · 897 Bytes
/
checks.yml
File metadata and controls
28 lines (24 loc) · 897 Bytes
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
# The Licensed Work is (c) 2022 Sygma
# SPDX-License-Identifier: LGPL-3.0-only
on: [pull_request]
name: Linter check
env:
GO111MODULE: on
GOPRIVATE: github.com/sprintertech
TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
jobs:
linter-check:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: 1.23
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: setup git access to private repos
run: git config --global url."https://${TOKEN}:x-oauth-basic@github.com/sprintertech/".insteadOf "https://github.com/sprintertech/"
- name: golangci-lint
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
with:
args: --timeout=10m
only-new-issues: true