From 00f7af137643a68c023f4ac4d0b58d3b42dc0d43 Mon Sep 17 00:00:00 2001 From: Timo Reimann Date: Wed, 25 Sep 2024 11:42:48 +0200 Subject: [PATCH] Upgrade Go to 1.23.1 --- .github/workflows/test.yaml | 6 +++--- Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e9d279e..f738734 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -7,12 +7,12 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: + - name: Checkout code + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: Install Go uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: - go-version: 1.20.x - - name: Checkout code - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + go-version-file: go.mod - name: Test run: go test -mod=vendor ./... diff --git a/Dockerfile b/Dockerfile index 130850a..5e52d6b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM amd64/golang:1.20.3-alpine3.17 as builder +FROM amd64/golang:1.23.1-alpine3.20 as builder WORKDIR /usr/src/pdsync diff --git a/go.mod b/go.mod index d1b969b..c625205 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/timoreimann/pdsync -go 1.20 +go 1.23 require ( github.com/PagerDuty/go-pagerduty v1.1.2