Skip to content

Merge pull request #32 from krombel/dependabot/go_modules/github.com/… #63

Merge pull request #32 from krombel/dependabot/go_modules/github.com/…

Merge pull request #32 from krombel/dependabot/go_modules/github.com/… #63

Workflow file for this run

name: Linting
on:
push:
branches:
- master
tags-ignore: ['**']
pull_request:
jobs: # Docs: <https://git.io/JvxXE>
gitleaks:
name: Gitleaks
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with: {fetch-depth: 0}
- uses: gacts/gitleaks@v1 # Action page: <https://github.com/zricethezav/gitleaks-action>
golangci-lint:
name: Golang-CI (lint)
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with: {fetch-depth: 0}
- name: Run linter
uses: golangci/[email protected] # Action page: <https://github.com/golangci/golangci-lint-action>
with:
version: v1.42 # without patch version
only-new-issues: false # show only new issues if it's a pull request
args: --timeout 4m # the default of 1m didn't suffice occasionally