From 19b97940b454db15697f767dc232a4bf39472792 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 6 Dec 2023 16:03:37 +0000 Subject: [PATCH] Update github actions --- .github/workflows/benchmark.yaml | 6 +++--- .github/workflows/docker-compose-tests.yml | 4 ++-- .github/workflows/go-e2e.yml | 22 +++++++++++----------- .github/workflows/go-releaser.yml | 10 +++++----- .github/workflows/go-scheduled.yml | 8 ++++---- .github/workflows/go.yml | 14 +++++++------- .github/workflows/gosec.yml | 2 +- .github/workflows/integration.yml | 4 ++-- .github/workflows/mixin.yml | 6 +++--- 9 files changed, 38 insertions(+), 38 deletions(-) diff --git a/.github/workflows/benchmark.yaml b/.github/workflows/benchmark.yaml index b1140da795..50c65a244b 100644 --- a/.github/workflows/benchmark.yaml +++ b/.github/workflows/benchmark.yaml @@ -16,10 +16,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout current branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go ${{ env.golang-version }} - uses: actions/setup-go@v3.5.0 + uses: actions/setup-go@v5.0.0 with: go-version: ${{ env.golang-version }} id: go @@ -34,7 +34,7 @@ jobs: path: current.txt - name: Checkout master branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: 'master' diff --git a/.github/workflows/docker-compose-tests.yml b/.github/workflows/docker-compose-tests.yml index a03c3c3e5a..032519cbb3 100644 --- a/.github/workflows/docker-compose-tests.yml +++ b/.github/workflows/docker-compose-tests.yml @@ -20,10 +20,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go ${{ env.golang-version }} - uses: actions/setup-go@v3.5.0 + uses: actions/setup-go@v5.0.0 with: go-version: ${{ env.golang-version }} id: go diff --git a/.github/workflows/go-e2e.yml b/.github/workflows/go-e2e.yml index 08e798f9a3..bfb534fcaf 100644 --- a/.github/workflows/go-e2e.yml +++ b/.github/workflows/go-e2e.yml @@ -37,13 +37,13 @@ jobs: docker_image_15: ${{ steps.metadata.outputs.docker_image_15 }} steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: timescale/promscale ref: ${{ inputs.ref }} - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -88,7 +88,7 @@ jobs: # - {name: "Multinode", shortname: "multinode", multi: true, pg: 14} steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: timescale/promscale ref: ${{ inputs.ref }} @@ -97,7 +97,7 @@ jobs: run: wget https://github.com/timescale/promscale-test-data/raw/main/traces-dataset.sz -O pkg/tests/testdata/traces-dataset.sz - name: Set up Go ${{ env.golang-version }} - uses: actions/setup-go@v3.5.0 + uses: actions/setup-go@v5.0.0 with: go-version: ${{ env.golang-version }} id: go @@ -111,7 +111,7 @@ jobs: ${{ runner.os }}-go- - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -139,13 +139,13 @@ jobs: # - {name: "Multinode", shortname: "multinode", multi: true, pg: 14} steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: timescale/promscale ref: ${{ inputs.ref }} - name: Set up Go ${{ env.golang-version }} - uses: actions/setup-go@v3.5.0 + uses: actions/setup-go@v5.0.0 with: go-version: ${{ env.golang-version }} id: go @@ -159,7 +159,7 @@ jobs: ${{ runner.os }}-go- - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -178,13 +178,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: timescale/promscale ref: ${{ inputs.ref }} - name: Set up Go ${{ env.golang-version }} - uses: actions/setup-go@v3.5.0 + uses: actions/setup-go@v5.0.0 with: go-version: ${{ env.golang-version }} id: go @@ -198,7 +198,7 @@ jobs: ${{ runner.os }}-go- - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} diff --git a/.github/workflows/go-releaser.yml b/.github/workflows/go-releaser.yml index d19ad50bd3..d9f9b8e0c6 100644 --- a/.github/workflows/go-releaser.yml +++ b/.github/workflows/go-releaser.yml @@ -21,18 +21,18 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v3.5.0 + uses: actions/setup-go@v5.0.0 with: go-version: ${{ env.golang-version }} - name: Login to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 #login only on tags. Note that login can't work on PRs from forked repos because of missing secrets #this gets around that by only logging in when needed. if: startsWith(github.ref, 'refs/tags/') @@ -41,7 +41,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Run GoReleaser Test - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@v5 # do not run test if actually releasing if: startsWith(github.ref, 'refs/tags/') != true with: @@ -50,7 +50,7 @@ jobs: args: release --snapshot --skip-publish --rm-dist -f .goreleaser.yml - name: GoReleaser Release - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@v5 #release only on tags if: startsWith(github.ref, 'refs/tags/') with: diff --git a/.github/workflows/go-scheduled.yml b/.github/workflows/go-scheduled.yml index 5b71349f93..70633fb995 100644 --- a/.github/workflows/go-scheduled.yml +++ b/.github/workflows/go-scheduled.yml @@ -20,10 +20,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go ${{ env.golang-version }} - uses: actions/setup-go@v3.5.0 + uses: actions/setup-go@v5.0.0 with: go-version: ${{ env.golang-version }} id: go @@ -44,7 +44,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: lfs: true @@ -52,7 +52,7 @@ jobs: run: git lfs checkout - name: Set up Go ${{ env.golang-version }} - uses: actions/setup-go@v3.5.0 + uses: actions/setup-go@v5.0.0 with: go-version: ${{ env.golang-version }} id: go diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 403923a2af..1a8ea1eb54 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run ShellCheck run: make shellcheck @@ -30,10 +30,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go ${{ env.golang-version }} - uses: actions/setup-go@v3.5.0 + uses: actions/setup-go@v5.0.0 with: go-version: ${{ env.golang-version }} id: go @@ -61,13 +61,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Checkout test data files run: wget https://github.com/timescale/promscale-test-data/raw/main/traces-dataset.sz -O pkg/tests/testdata/traces-dataset.sz - name: Set up Go ${{ env.golang-version }} - uses: actions/setup-go@v3.5.0 + uses: actions/setup-go@v5.0.0 with: go-version: ${{ env.golang-version }} id: go @@ -104,10 +104,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go ${{ env.golang-version }} - uses: actions/setup-go@v3.5.0 + uses: actions/setup-go@v5.0.0 with: go-version: ${{ env.golang-version }} diff --git a/.github/workflows/gosec.yml b/.github/workflows/gosec.yml index a5ada5ae78..4ec47a28cc 100644 --- a/.github/workflows/gosec.yml +++ b/.github/workflows/gosec.yml @@ -14,7 +14,7 @@ jobs: GO111MODULE: on steps: - name: Checkout Source - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run Gosec Security Scanner uses: securego/gosec@v2.14.0 with: diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index d576410493..e329cd31de 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -26,10 +26,10 @@ jobs: #- 12 steps: - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go ${{ env.golang-version }} - uses: actions/setup-go@v3.5.0 + uses: actions/setup-go@v5.0.0 with: go-version: ${{ env.golang-version }} id: go diff --git a/.github/workflows/mixin.yml b/.github/workflows/mixin.yml index b9e1264450..b9935d67f2 100644 --- a/.github/workflows/mixin.yml +++ b/.github/workflows/mixin.yml @@ -19,15 +19,15 @@ jobs: runs-on: ubuntu-latest name: Check monitoring mixin steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go ${{ env.golang-version }} - uses: actions/setup-go@v3.5.0 + uses: actions/setup-go@v5.0.0 with: go-version: ${{ env.golang-version }} id: go - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: ${{ env.golang-version }}