diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 58c44285..4b47231b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,12 +1,12 @@ name: ci/github -on: +on: pull_request: - branches: + branches: - main - "release-v*" # release branches push: - branches: + branches: - main - "release-v*" # release branches @@ -22,7 +22,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: 1.22.x cache: true check-latest: true - name: Build @@ -37,7 +37,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: 1.22.x cache: true check-latest: true - name: Verify fmt @@ -69,7 +69,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: 1.22.x cache: true check-latest: true - name: Install kubectl diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ea00dcfb..5a8de19b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -33,7 +33,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: 1.22.x cache: true check-latest: true - uses: sigstore/cosign-installer@v3