Skip to content

Commit

Permalink
Merge branch 'master' into make-nstemplatetier-generator-generic
Browse files Browse the repository at this point in the history
  • Loading branch information
MatousJobanek authored Apr 4, 2024
2 parents 5f3d2e0 + 6b578e1 commit fe4cc50
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 20 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: ci-build
on:
push:
branches:
- master
tags-ignore:
- '*.*'
pull_request:
branches:
- master

jobs:
golangci:
name: GolangCI Lint
runs-on: ubuntu-20.04
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.20.x

- name: Checkout code
uses: actions/checkout@v4

- name: Lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.52.0
skip-pkg-cache: true
skip-build-cache: true
args: --config=./.golangci.yml --verbose
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,3 @@ jobs:
flags: unittests # optional
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)

golangci:
name: GolangCI Lint
runs-on: ubuntu-20.04
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.20.x

- name: Checkout code
uses: actions/checkout@v4

- name: Lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.52.0
skip-pkg-cache: true
skip-build-cache: true
args: --config=./.golangci.yml --verbose

0 comments on commit fe4cc50

Please sign in to comment.