Skip to content

Commit

Permalink
github-action: Use quotes becase yaml (1.20 -> 1.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
wader committed Feb 2, 2023
1 parent d338c8b commit 57144b2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ on:
pull_request:

env:
GOLANGCILINT_VERSION: 1.51.0
GOLANGCILINT_VERSION: "1.51.0"

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.20.0
go-version: "1.20.0"
- uses: actions/checkout@v3
- uses: golangci/golangci-lint-action@v3
with:
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.20.0
go-version: "1.20.0"
- name: Test
env:
GOARCH: ${{ matrix.goarch }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.20.0
go-version: "1.20.0"
- uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
Expand Down
4 changes: 2 additions & 2 deletions Bumpfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ Dockerfile
Makefile
go.mod

github-golangci-lint /GOLANGCILINT_VERSION: ([\d.]+)/ git:https://github.com/golangci/golangci-lint.git|^1
github-golangci-lint /GOLANGCILINT_VERSION: "([\d.]+)"/ git:https://github.com/golangci/golangci-lint.git|^1
github-golangci-lint link "Release notes" https://github.com/golangci/golangci-lint/releases/tag/v$LATEST

github-go-version /go-version: ([\d.]+)/ git:https://github.com/actions/go-versions.git|/(.*)-.*/$1/|^1
github-go-version /go-version: "([\d.]+)"/ git:https://github.com/actions/go-versions.git|/(.*)-.*/$1/|^1

.github/workflows/ci.yml
.github/workflows/release.yml

0 comments on commit 57144b2

Please sign in to comment.