Skip to content

Commit

Permalink
fix inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-khimov committed Sep 9, 2024
1 parent 7e82db1 commit 2f80732
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/go-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,23 @@ jobs:

steps:
- uses: actions/checkout@v4
# shell: bash
with:
ref: ${{ github.event.inputs.ref }}
ref: ${{ inputs.ref }}

- name: Checkout .github repository
uses: actions/checkout@v4
# shell: bash
with:
repository: nspcc-dev/.github
path: nspcc-gh

- uses: actions/setup-go@v5
# shell: bash
with:
go-version-file: ${{ github.event.inputs.workdir }}/go.mod
cache-dependency-path: ${{ github.event.inputs.workdir }}/go.sum
go-version-file: ${{ inputs.workdir }}/go.mod
cache-dependency-path: ${{ inputs.workdir }}/go.sum

- name: golangci-lint
uses: golangci/golangci-lint-action@v6
# shell: bash
with:
version: latest
working-directory: ${{ github.event.inputs.workdir }}
working-directory: ${{ inputs.workdir }}
args: --config=${{ github.workspace }}/nspcc-gh/.golangci.yml

0 comments on commit 2f80732

Please sign in to comment.