From 9c512b5a4197d6822b92b132092ed252e5254ef0 Mon Sep 17 00:00:00 2001 From: Akos Veres Date: Sun, 20 Oct 2024 19:42:57 +0100 Subject: [PATCH 1/2] feat(checkly-sdk): upgrade to v1.8.1 --- go.mod | 2 +- go.sum | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 4db7324..9f40c36 100644 --- a/go.mod +++ b/go.mod @@ -28,7 +28,7 @@ require ( require ( github.com/beorn7/perks v1.0.1 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect - github.com/checkly/checkly-go-sdk v1.6.1 + github.com/checkly/checkly-go-sdk v1.8.1 github.com/davecgh/go-spew v1.1.1 // indirect github.com/fsnotify/fsnotify v1.7.0 // indirect github.com/go-logr/logr v1.4.1 // indirect diff --git a/go.sum b/go.sum index 3ec14d6..2654674 100644 --- a/go.sum +++ b/go.sum @@ -2,8 +2,8 @@ github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/checkly/checkly-go-sdk v1.6.1 h1:R504wAr5hjqYCnEiU25UOW9v5l7N9cMF6izbmg36uA4= -github.com/checkly/checkly-go-sdk v1.6.1/go.mod h1:a1I5B287Fd06TL1C+V/9szb3ZU4+0Di100Zn8h+CDgg= +github.com/checkly/checkly-go-sdk v1.8.1 h1:s8TAlbruie1lxGVdkqwfimMBKnTrjso26yByJI1uoPI= +github.com/checkly/checkly-go-sdk v1.8.1/go.mod h1:Pd6tBOggAe41NnCU5KwqA8JvD6J20/IctszT2E0AvHo= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 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 github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= From 6fe32ea2f2d86df8ae28de7e991153ed58f014ef Mon Sep 17 00:00:00 2001 From: Akos Veres Date: Sun, 20 Oct 2024 21:06:36 +0100 Subject: [PATCH 2/2] build(github-actions): update github actions steps versions --- .github/workflows/main-merge.yaml | 18 +++++++++--------- .github/workflows/pull-request.yaml | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/main-merge.yaml b/.github/workflows/main-merge.yaml index 969184f..b92f568 100644 --- a/.github/workflows/main-merge.yaml +++ b/.github/workflows/main-merge.yaml @@ -15,15 +15,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out source code - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: "go.mod" - name: Start kind cluster - uses: helm/kind-action@v1.2.0 + uses: helm/kind-action@v1 with: version: "v0.22.0" # This starts k8s v1.29 @@ -49,20 +49,20 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out source code - uses: actions/checkout@v1 + uses: actions/checkout@v4 # For multi-arch docker builds # https://github.com/docker/setup-qemu-action - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 # https://github.com/docker/setup-buildx-action - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Log in to the Container registry - uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -73,13 +73,13 @@ jobs: npm install - name: Release - uses: cycjimmy/semantic-release-action@v3 + uses: cycjimmy/semantic-release-action@v4 id: semantic # The `id` for output variables env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Build multi-platform images - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v6 if: ${{ steps.semantic.outputs.new_release_version }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index 1e2ae3c..3c9537e 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -15,10 +15,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out source code - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: "go.mod" @@ -54,22 +54,22 @@ jobs: arch: ["amd64"] steps: - name: Check out source code - uses: actions/checkout@v1 + uses: actions/checkout@v4 # For multi-arch docker builds # https://github.com/docker/setup-qemu-action - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 # https://github.com/docker/setup-buildx-action - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 # Docker build specifics - name: Docker meta id: docker_meta # you'll use this in the next step - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v5 with: # list of Docker images to use as base name for tags images: | @@ -79,12 +79,12 @@ jobs: type=sha # Check Dockerfile with hadolint - - uses: hadolint/hadolint-action@v2.1.0 + - uses: hadolint/hadolint-action@v3.1.0 with: dockerfile: Dockerfile - name: Build multi-platform images - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v6 with: context: . platforms: ${{ matrix.arch }} @@ -92,7 +92,7 @@ jobs: tags: ${{ steps.docker_meta.outputs.tags }} - name: Trivy vulnerability scanner - uses: aquasecurity/trivy-action@master + uses: aquasecurity/trivy-action@0.28.0 env: IMAGE: ${{ steps.docker_meta.outputs.tags }} with: