mirror of
https://github.com/strukturag/nextcloud-spreed-signaling.git
synced 2025-03-14 19:42:48 +00:00
![dependabot[bot]](/assets/img/avatar_default.png)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.5.0 to 6.5.1. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](https://github.com/golangci/golangci-lint-action/compare/v6.5.0...v6.5.1) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
57 lines
1.1 KiB
YAML
57 lines
1.1 KiB
YAML
name: lint
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
paths:
|
|
- '.github/workflows/lint.yml'
|
|
- '.golangci.yml'
|
|
- '**.go'
|
|
- 'go.*'
|
|
pull_request:
|
|
branches: [ master ]
|
|
paths:
|
|
- '.github/workflows/lint.yml'
|
|
- '.golangci.yml'
|
|
- '**.go'
|
|
- 'go.*'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
lint:
|
|
name: golang
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: "1.22"
|
|
|
|
- name: lint
|
|
uses: golangci/golangci-lint-action@v6.5.1
|
|
with:
|
|
version: latest
|
|
args: --timeout=2m0s
|
|
skip-cache: true
|
|
|
|
dependencies:
|
|
name: dependencies
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: "stable"
|
|
|
|
- name: Check minimum supported version of Go
|
|
run: |
|
|
go mod tidy -go=1.22.0 -compat=1.22.0
|
|
|
|
- name: Check go.mod / go.sum
|
|
run: |
|
|
git add go.*
|
|
git diff --cached --exit-code go.*
|