Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump to modern versions of Go #144

Merged
merged 1 commit into from
Jun 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading