Skip to content

Commit

Permalink
Update golangci-lint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyStiles authored Sep 6, 2022
1 parent d596776 commit 07afbb6
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: golangci-lint
on:
push:
tags:
- v*
branches:
- main
pull_request:
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run golangci-lint
uses: golangci/[email protected]
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: latest
# on:
# push:
# tags:
# - v*
# branches:
# - main
# pull_request:
# jobs:
# golangci:
# name: lint
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Run golangci-lint
# uses: golangci/[email protected]
# with:
# # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
# version: latest

# Optional: working directory, useful for monorepos
# working-directory: somedir
Expand Down

0 comments on commit 07afbb6

Please sign in to comment.