Skip to content

Commit

Permalink
Fix grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiss, Tibor committed Jan 26, 2024
1 parent efbb7dd commit 7035823
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/lint-go-reusable.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This workflow defines a reusable Go linting flow, using Golangci-lint: https://golangci-lint.run/
# If you want use this workflow, you might want to add some configurations to your repository:
# https://golangci-lint.run/usage/configuration/

name: Lint code (reusable)

on:
Expand All @@ -9,11 +9,11 @@ on:
go-version:
required: true
type: string
description: "The Go version to use. This can be a specific version. eg. 1.19 or 1.21.x"
description: "The Go version to use. This can be a specific version. E.g. 1.19 or 1.21.x"
lint-config-uri:
required: true
type: string
description: "The URI to the linter config file. This can be a local file or a remote file. eg. https://raw.githubusercontent.com/kyma-project/eventing-tools/main/config/lint/.golangci.yaml"
description: "The URI to the linter config file. This can be a local file or a remote file. E.g. https://raw.githubusercontent.com/kyma-project/eventing-tools/main/config/lint/.golangci.yaml"

jobs:
unit:
Expand All @@ -22,14 +22,14 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go-version }} # This can be a specific version. eg. 1.19 or 1.21.x
go-version: ${{ inputs.go-version }} # This can be a specific version. E.g. 1.19 or 1.21.x
cache: false # Disable cache to avoid issues with different Go versions

- name: Checkout code
uses: actions/checkout@v4

- name: Download linter config
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
run: wget -O .golangci.yaml ${{ inputs.lint-config-uri }} # This can be a remote file only. E.g. 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 7035823

Please sign in to comment.