diff --git a/.github/workflows/benchmark.yaml b/.github/workflows/benchmark.yaml index b1140da79..50c65a244 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 a03c3c3e5..032519cbb 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 08e798f9a..bfb534fca 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 d19ad50bd..d9f9b8e0c 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 5b71349f9..70633fb99 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 403923a2a..1a8ea1eb5 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 a5ada5ae7..4ec47a28c 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 d57641049..e329cd31d 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 b9e126445..b9935d67f 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 }}