From 3057d995fb349b966a889aa6fe591f6565c43ab8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Fri, 7 Nov 2025 13:39:00 +0100 Subject: [PATCH 1/2] CI: Update various actions --- .github/workflows/static-test.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/static-test.yaml b/.github/workflows/static-test.yaml index 82b7c3bc..e130475e 100644 --- a/.github/workflows/static-test.yaml +++ b/.github/workflows/static-test.yaml @@ -30,15 +30,15 @@ jobs: working-directory: ${{ github.workspace }}/go/src/github.com/${{ github.repository }} steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v5 with: ref: ${{ github.event.pull_request.head.sha }} path: go/src/github.com/${{ github.repository }} - - name: Set up Go 1.24 - uses: actions/setup-go@v2 + - name: Set up Go + uses: actions/setup-go@v6 with: - go-version: 1.24.x + go-version-file: 'go.mod' id: go - name: make unit-test @@ -50,7 +50,7 @@ jobs: make test - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v5 with: working-directory: ${{ env.working-directory }} files: ./tests/cov.unit-test.out From a05a3c60b34ba85939fceb6fddb6528dd34595c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Fri, 7 Nov 2025 13:41:28 +0100 Subject: [PATCH 2/2] update --- .github/workflows/static-test.yaml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.github/workflows/static-test.yaml b/.github/workflows/static-test.yaml index e130475e..bdad7985 100644 --- a/.github/workflows/static-test.yaml +++ b/.github/workflows/static-test.yaml @@ -2,9 +2,6 @@ name: static-tests on: - # schedule: - # # times are in UTC - # - cron: '19 21 * * *' pull_request: branches: - master @@ -26,32 +23,19 @@ on: jobs: unit-test: runs-on: ubuntu-latest - env: - working-directory: ${{ github.workspace }}/go/src/github.com/${{ github.repository }} steps: - name: Check out code into the Go module directory uses: actions/checkout@v5 - with: - ref: ${{ github.event.pull_request.head.sha }} - path: go/src/github.com/${{ github.repository }} - - name: Set up Go uses: actions/setup-go@v6 with: go-version-file: 'go.mod' - id: go - - name: make unit-test - working-directory: ${{ env.working-directory }} run: | - export GOPATH=${GITHUB_WORKSPACE}/go - export PATH=$PATH:$GOPATH/bin make check make test - - name: Upload coverage to Codecov uses: codecov/codecov-action@v5 with: - working-directory: ${{ env.working-directory }} files: ./tests/cov.unit-test.out flags: unittests