aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Moyer <smoyer1@selesy.com>2023-01-03 19:48:38 -0500
committerSteve Moyer <smoyer1@selesy.com>2023-01-03 19:48:38 -0500
commit58a6962f4e78afa1208f40578caf7ac2b7a04184 (patch)
tree3bd9ef6cd55772d9b4ef7f752dc726b4811a6c1f
parent33e3e4b65e022aeabbcadf8647f5de31d6435e60 (diff)
downloadgit-bug-58a6962f4e78afa1208f40578caf7ac2b7a04184.tar.gz
ci: use Go 1.19.4 and setup-go@v3
-rw-r--r--.github/workflows/benchmark.yml2
-rw-r--r--.github/workflows/go.yml9
-rw-r--r--.github/workflows/release.yml6
3 files changed, 8 insertions, 9 deletions
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
index c7876f2d..16fb5d7e 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
- go-version: 1.19.x
+ go-version: 1.19.4
- uses: actions/checkout@v3
# Run benchmark with `go test -bench` and stores the output to a file
- name: Run benchmark
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 7a9a130c..d0f2585d 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
- go-version: [1.19.x]
+ go-version: [1.19.4]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
@@ -20,7 +20,7 @@ jobs:
steps:
- name: Set up Go ${{ matrix.node-version }}
- uses: actions/setup-go@v2
+ uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
@@ -44,13 +44,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Go
- uses: actions/setup-go@v2
+ uses: actions/setup-go@v3
with:
- go-version: 1.19.x
+ go-version: 1.19.4
- name: Checkout code
uses: actions/checkout@v2
- name: Check Code Formatting
run: find . -name "*.go" | while read line; do [ -z "$(gofmt -d "$line" | head)" ] || exit 1; done
-
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index c93c857e..80751500 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -12,9 +12,9 @@ jobs:
steps:
- name: Set up Go
- uses: actions/setup-go@v2
+ uses: actions/setup-go@v3
with:
- go-version: 1.19.x
+ go-version: 1.19.4
- name: Check out code
uses: actions/checkout@v2
@@ -38,4 +38,4 @@ jobs:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
draft: true
prerelease: false
- files: dist/* \ No newline at end of file
+ files: dist/*