diff --git a/.github/workflows/release-chart.yaml b/.github/workflows/release-chart.yaml index 52ec0bd..19e41d0 100644 --- a/.github/workflows/release-chart.yaml +++ b/.github/workflows/release-chart.yaml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 35219e0..46a257e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ permissions: packages: write env: - GOLANG_VERSION: "1.20.x" + GOLANG_VERSION: "1.22.x" jobs: release: diff --git a/.github/workflows/test-chart.yaml b/.github/workflows/test-chart.yaml index 89fd3de..736b1e8 100644 --- a/.github/workflows/test-chart.yaml +++ b/.github/workflows/test-chart.yaml @@ -8,6 +8,9 @@ on: workflow_dispatch: pull_request: +permissions: + contents: read + jobs: test: runs-on: ubuntu-latest diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 61bb135..55e7933 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,8 +6,11 @@ on: pull_request: branches: [main] +permissions: + contents: read + env: - GOLANG_VERSION: "1.20.x" + GOLANG_VERSION: "1.22.x" jobs: test: diff --git a/go.mod b/go.mod index 6df15db..6b01f37 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/benthosdev/benthos-captain -go 1.20 +go 1.22 require ( github.com/go-logr/logr v1.2.4