Skip to content

Commit

Permalink
fix(ci): deprecate build go_version in favor of go-version (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Aug 29, 2024
1 parent 82f4e6b commit a77c17c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
go_version:
required: false
type: string
go-version:
required: false
type: string
default: stable
go-version-file:
required: false
Expand All @@ -26,7 +29,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go_version }}
go-version: ${{ inputs.go_version || inputs.go-version }}
cache: true
check-latest: true
- run: |
Expand All @@ -53,7 +56,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go_version }}
go-version: ${{ inputs.go_version || inputs.go-version }}
go-version-file: ${{ inputs.go-version-file }}
cache: true
- name: Download Go modules
Expand Down

0 comments on commit a77c17c

Please sign in to comment.