Skip to content

Commit

Permalink
Merge pull request #144 from jacobbednarz/go-1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz committed Jun 27, 2023
2 parents c6885f6 + c79e3bc commit d5cc5ba
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/bump-cask.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
tag-name:
description: 'The git tag name to bump the formula to'
required: true

jobs:
manual-cask-bump:
runs-on: ubuntu-latest
Expand All @@ -18,9 +18,9 @@ jobs:
run: |
printf "::set-output name=%s::%s\n" tag-name "${GITHUB_REF#refs/tags/}"
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ^1.18
go-version: "1.20"
- uses: mislav/bump-homebrew-formula-action@v2
with:
formula-name: cf-vault
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
tags:
- '*'

jobs:
goreleaser:
runs-on: ubuntu-latest
Expand All @@ -19,9 +19,9 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ^1.18
go-version: "1.20"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3.1.0
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --rm-dist
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,19 @@ jobs:
test:
strategy:
matrix:
go-version: [1.17, 1.18]
os: [ubuntu-latest, macos-latest, windows-latest]
go-version: ["1.18", "1.19", "1.20"]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v1
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Format
run: gofmt -d .
- name: Lint
if: matrix.os != 'windows-latest'
run: |
go generate -tags tools tools/tools.go
$(go env GOPATH)/bin/golint -set_exit_status .
Expand Down
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.15
1.20
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/jacobbednarz/cf-vault

go 1.17
go 1.20

require (
github.com/99designs/keyring v1.1.6
Expand Down

0 comments on commit d5cc5ba

Please sign in to comment.