diff --git a/.github/workflows/ci-checks.yml b/.github/workflows/ci-checks.yml index 5c115a1f..8453519c 100644 --- a/.github/workflows/ci-checks.yml +++ b/.github/workflows/ci-checks.yml @@ -13,7 +13,7 @@ jobs: fetch-depth: 1 - uses: actions/setup-go@v4 with: - go-version: 1.21.5 + go-version: 1.22.1 - name: Setup dependencies run: | go mod tidy @@ -54,7 +54,7 @@ jobs: fetch-depth: 1 - uses: actions/setup-go@v4 with: - go-version: '1.21.5' + go-version: '1.22.1' - name: Get PSQL CLI run: | apt-get update @@ -83,7 +83,7 @@ jobs: persist-credentials: false - uses: actions/setup-go@v4 with: - go-version: '1.21.5' + go-version: '1.22.1' - name: Setup dependencies run: | go mod tidy diff --git a/.github/workflows/vulncheck.yml b/.github/workflows/vulncheck.yml index fccd6074..7b15d9f9 100644 --- a/.github/workflows/vulncheck.yml +++ b/.github/workflows/vulncheck.yml @@ -19,7 +19,7 @@ jobs: fetch-depth: 1 - uses: actions/setup-go@v4 with: - go-version: 1.21.5 + go-version: 1.22.1 - name: Setup dependencies run: | go mod tidy @@ -27,7 +27,7 @@ jobs: - name: Scan for Vulnerabilities in Code uses: Templum/govulncheck-action@v1.0.0 with: - go-version: 1.21.5 + go-version: 1.22.1 skip-upload: true fail-on-vuln: true diff --git a/Dockerfile b/Dockerfile index 2a672fc5..d556e9cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21.5-alpine AS builder +FROM golang:1.22.1-alpine AS builder # Disables the use of CGo when building the go app; CGo is a feature in the Go that allows code to call C functions. # By disabling CGo, we ensure that the Go binary does not depend on any C libraries, which provides a few benefits: diff --git a/go.mod b/go.mod index 3a37ac76..1ee187aa 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/2beens/serjtubincom -go 1.21.5 +go 1.22.1 require ( github.com/BurntSushi/toml v1.3.2