Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Dec 6, 2023
1 parent 6ee8545 commit 19b9794
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 38 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -34,7 +34,7 @@ jobs:
path: current.txt

- name: Checkout master branch
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: 'master'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-compose-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/go-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand All @@ -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
Expand All @@ -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 }}
Expand Down Expand Up @@ -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
Expand All @@ -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 }}
Expand All @@ -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
Expand All @@ -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 }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/go-releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/')
Expand All @@ -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:
Expand All @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/go-scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -44,15 +44,15 @@ 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

- name: Checkout LFS objects
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
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gosec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mixin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit 19b9794

Please sign in to comment.