aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2023-01-08 12:11:53 +0100
committerGitHub <noreply@github.com>2023-01-08 12:11:53 +0100
commitc7662a13acf6db50a45d22e70e7beac3276fe784 (patch)
tree630bd8655a65049bcb58ccada82631d948a07bb1 /.github/workflows
parent51161a8fdb97814daa0543692c63b0d8a25a83ff (diff)
parent59684d74776738723901095c73782fbc619138e4 (diff)
downloadgit-bug-c7662a13acf6db50a45d22e70e7beac3276fe784.tar.gz
Merge pull request #976 from MichaelMure/fix/975/patch-security-vulnerabilities
fix: resolve Go vulnerabilities
Diffstat (limited to '.github/workflows')
-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 e5fcd1f1..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.18.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 90400553..d0f2585d 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
- go-version: [1.18.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.18.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 a245f052..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.18.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/*