fix: resolve Go vulnerabilities

Steve Moyer created

Resolves #975

Change summary

.github/workflows/benchmark.yml | 2 +-
.github/workflows/go.yml        | 4 ++--
.github/workflows/release.yml   | 2 +-
go.mod                          | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)

Detailed changes

.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.x
       - uses: actions/checkout@v3
       # Run benchmark with `go test -bench` and stores the output to a file
       - name: Run benchmark

.github/workflows/go.yml 🔗

@@ -12,7 +12,7 @@ jobs:
 
     strategy:
       matrix:
-        go-version: [1.18.x]
+        go-version: [1.19.x]
         platform: [ubuntu-latest, macos-latest, windows-latest]
 
     runs-on: ${{ matrix.platform }}
@@ -46,7 +46,7 @@ jobs:
       - name: Install Go
         uses: actions/setup-go@v2
         with:
-          go-version: 1.18.x
+          go-version: 1.19.x
 
       - name: Checkout code
         uses: actions/checkout@v2

.github/workflows/release.yml 🔗

@@ -14,7 +14,7 @@ jobs:
       - name: Set up Go
         uses: actions/setup-go@v2
         with:
-          go-version: 1.18.x
+          go-version: 1.19.x
 
       - name: Check out code
         uses: actions/checkout@v2

go.mod 🔗

@@ -1,6 +1,6 @@
 module github.com/MichaelMure/git-bug
 
-go 1.18
+go 1.19
 
 require (
 	github.com/99designs/gqlgen v0.17.20