From 8c3f74ea2ebf996938a2256d4a4f89d2b5630d44 Mon Sep 17 00:00:00 2001 From: Drew Viles Date: Thu, 5 Sep 2024 17:10:26 +0100 Subject: [PATCH] updating go in the pipeline --- .github/workflows/pull_request.yaml | 10 +++++----- .github/workflows/release.yml | 4 ++-- .github/workflows/tag.yml | 10 +++++----- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 98c0ff2..877dae9 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -8,12 +8,12 @@ on: jobs: lint: name: Lint files - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: '1.22.1' + go-version: '1.23.1' - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: @@ -23,17 +23,17 @@ jobs: test: name: Run tests - runs-on: 'ubuntu-22.04' + runs-on: ubuntu-22.04 needs: lint steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: '1.22.1' + go-version: '1.23.1' - run: go test -v -cover ./... security-checks: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: test permissions: contents: read diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f751473..2979d0d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ on: jobs: release: name: Create Release - runs-on: 'ubuntu-22.04' + runs-on: ubuntu-24.04 permissions: contents: write steps: @@ -17,7 +17,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@v4 with: - go-version: '1.22.1' + go-version: '1.23.1' - name: Get OS and arch info run: | GOARCH=amd64 diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 59ece63..0eec49d 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -9,12 +9,12 @@ on: jobs: lint: name: Lint files - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: '1.22.1' + go-version: '1.23.1' - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: @@ -24,17 +24,17 @@ jobs: test: name: Run tests - runs-on: 'ubuntu-22.04' + runs-on: ubuntu-24.04 needs: lint steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: '1.22.1' + go-version: '1.23.1' - run: go test -v -cover ./... security-checks: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: test permissions: contents: read