mirror of
https://github.com/agresdominik/ci-pipelines.git
synced 2026-07-21 23:30:55 +00:00
fix(languages): gitea runner input bug fix
This commit is contained in:
@@ -16,12 +16,14 @@ jobs:
|
||||
fmt:
|
||||
name: gofmt
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GO_VERSION_FILE: ${{ inputs.go-version-file }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: ${{ inputs.go-version-file }}
|
||||
go-version-file: ${{ env.GO_VERSION_FILE }}
|
||||
cache: true
|
||||
|
||||
- name: Check formatting
|
||||
@@ -40,12 +42,14 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: fmt
|
||||
if: ${{ inputs.run-vet }}
|
||||
env:
|
||||
GO_VERSION_FILE: ${{ inputs.go-version-file }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: ${{ inputs.go-version-file }}
|
||||
go-version-file: ${{ env.GO_VERSION_FILE }}
|
||||
cache: true
|
||||
|
||||
- name: go vet
|
||||
|
||||
Reference in New Issue
Block a user