Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Update golangci-lint action

Gabe Kangas8b72b76af166
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 5e20273bcb..e969e6b360 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -3,9 +3,12 @@ on:
push:
pull_request:
+permissions:
+ contents: read
+
jobs:
golangci:
- name: lint
+ name: Go linter
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
@@ -13,12 +16,10 @@ jobs:
with:
fetch-depth: 0
+ - name: golangci-lint
+ - uses: actions/setup-go@v2
+ - uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
- # Optional: golangci-lint command line arguments.
- args: --timeout 5m0s
- # Optional: working directory, useful for monorepos
- # working-directory: somedir
- # Optional: show only new issues if it's a pull request. The default value is `false`.
only-new-issues: true