Skip to content

Commit 5366d89

Browse files
authored
feat(checkly-sdk): upgrade to v1.8.1 and gha actions (#41)
* feat(checkly-sdk): upgrade to v1.8.1 * build(github-actions): update github actions steps versions
1 parent 629312f commit 5366d89

4 files changed

Lines changed: 21 additions & 22 deletions

File tree

.github/workflows/main-merge.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Check out source code
18-
uses: actions/checkout@v1
18+
uses: actions/checkout@v4
1919

2020
- name: Set up Go
21-
uses: actions/setup-go@v4
21+
uses: actions/setup-go@v5
2222
with:
2323
go-version-file: "go.mod"
2424

2525
- name: Start kind cluster
26-
uses: helm/kind-action@v1.2.0
26+
uses: helm/kind-action@v1
2727
with:
2828
version: "v0.22.0" # This starts k8s v1.29
2929

@@ -49,20 +49,20 @@ jobs:
4949
runs-on: ubuntu-latest
5050
steps:
5151
- name: Check out source code
52-
uses: actions/checkout@v1
52+
uses: actions/checkout@v4
5353

5454
# For multi-arch docker builds
5555
# https://github.com/docker/setup-qemu-action
5656
- name: Set up QEMU
57-
uses: docker/setup-qemu-action@v1
57+
uses: docker/setup-qemu-action@v3
5858

5959
# https://github.com/docker/setup-buildx-action
6060
- name: Set up Docker Buildx
6161
id: buildx
62-
uses: docker/setup-buildx-action@v1
62+
uses: docker/setup-buildx-action@v3
6363

6464
- name: Log in to the Container registry
65-
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
65+
uses: docker/login-action@v3
6666
with:
6767
registry: ${{ env.REGISTRY }}
6868
username: ${{ github.actor }}
@@ -73,13 +73,13 @@ jobs:
7373
npm install
7474
7575
- name: Release
76-
uses: cycjimmy/semantic-release-action@v3
76+
uses: cycjimmy/semantic-release-action@v4
7777
id: semantic # The `id` for output variables
7878
env:
7979
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8080

8181
- name: Build multi-platform images
82-
uses: docker/build-push-action@v2
82+
uses: docker/build-push-action@v6
8383
if: ${{ steps.semantic.outputs.new_release_version }}
8484
env:
8585
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/pull-request.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Check out source code
18-
uses: actions/checkout@v1
18+
uses: actions/checkout@v4
1919

2020
- name: Set up Go
21-
uses: actions/setup-go@v4
21+
uses: actions/setup-go@v5
2222
with:
2323
go-version-file: "go.mod"
2424

@@ -54,22 +54,22 @@ jobs:
5454
arch: ["amd64"]
5555
steps:
5656
- name: Check out source code
57-
uses: actions/checkout@v1
57+
uses: actions/checkout@v4
5858

5959
# For multi-arch docker builds
6060
# https://github.com/docker/setup-qemu-action
6161
- name: Set up QEMU
62-
uses: docker/setup-qemu-action@v1
62+
uses: docker/setup-qemu-action@v3
6363

6464
# https://github.com/docker/setup-buildx-action
6565
- name: Set up Docker Buildx
6666
id: buildx
67-
uses: docker/setup-buildx-action@v1
67+
uses: docker/setup-buildx-action@v3
6868

6969
# Docker build specifics
7070
- name: Docker meta
7171
id: docker_meta # you'll use this in the next step
72-
uses: docker/metadata-action@v3
72+
uses: docker/metadata-action@v5
7373
with:
7474
# list of Docker images to use as base name for tags
7575
images: |
@@ -79,20 +79,20 @@ jobs:
7979
type=sha
8080
8181
# Check Dockerfile with hadolint
82-
- uses: hadolint/hadolint-action@v2.1.0
82+
- uses: hadolint/hadolint-action@v3.1.0
8383
with:
8484
dockerfile: Dockerfile
8585

8686
- name: Build multi-platform images
87-
uses: docker/build-push-action@v2
87+
uses: docker/build-push-action@v6
8888
with:
8989
context: .
9090
platforms: ${{ matrix.arch }}
9191
load: true
9292
tags: ${{ steps.docker_meta.outputs.tags }}
9393

9494
- name: Trivy vulnerability scanner
95-
uses: aquasecurity/trivy-action@master
95+
uses: aquasecurity/trivy-action@0.28.0
9696
env:
9797
IMAGE: ${{ steps.docker_meta.outputs.tags }}
9898
with:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ require (
2828
require (
2929
github.com/beorn7/perks v1.0.1 // indirect
3030
github.com/cespare/xxhash/v2 v2.2.0 // indirect
31-
github.com/checkly/checkly-go-sdk v1.6.1
31+
github.com/checkly/checkly-go-sdk v1.8.1
3232
github.com/davecgh/go-spew v1.1.1 // indirect
3333
github.com/fsnotify/fsnotify v1.7.0 // indirect
3434
github.com/go-logr/logr v1.4.1 // indirect

go.sum

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
22
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
33
github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44=
44
github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
5-
github.com/checkly/checkly-go-sdk v1.6.1 h1:R504wAr5hjqYCnEiU25UOW9v5l7N9cMF6izbmg36uA4=
6-
github.com/checkly/checkly-go-sdk v1.6.1/go.mod h1:a1I5B287Fd06TL1C+V/9szb3ZU4+0Di100Zn8h+CDgg=
5+
github.com/checkly/checkly-go-sdk v1.8.1 h1:s8TAlbruie1lxGVdkqwfimMBKnTrjso26yByJI1uoPI=
6+
github.com/checkly/checkly-go-sdk v1.8.1/go.mod h1:Pd6tBOggAe41NnCU5KwqA8JvD6J20/IctszT2E0AvHo=
77
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
88
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
99
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
@@ -53,7 +53,6 @@ github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMyw
5353
github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
5454
github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
5555
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
56-
github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
5756
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
5857
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
5958
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=

0 commit comments

Comments
 (0)