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