Skip to content

Commit

Permalink
Reusable Go Lint 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiss, Tibor committed Jan 26, 2024
1 parent d413499 commit efbb7dd
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/lint-go-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@
name: Lint code (reusable)

on:
pull_request:
branches:
- "main"
- "release-*"
- "dev-*"
- "basic-*"
paths-ignore:
- "docs/**"
- "**.md"
- "sec-scanners-config.yaml"
workflow_call:
inputs:
go-version:
Expand All @@ -39,7 +29,7 @@ jobs:
uses: actions/checkout@v4

- name: Download linter config
run: wget -O .golangci.yaml ${{ inputs.lint-config-uri }} # This can be a local file or a remote file. eg. https://raw.githubusercontent.com/kyma-project/eventing-tools/main/config/lint/.golangci.yaml
run: wget -O .golangci.yaml ${{ inputs.lint-config-uri }} # This can be a remote file only. eg. https://raw.githubusercontent.com/kyma-project/eventing-tools/main/config/lint/.golangci.yaml

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down

0 comments on commit efbb7dd

Please sign in to comment.