diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 398eba58..f25c9e8b 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -15,12 +15,12 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: 1.19.x - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Generate Assets run: | @@ -49,7 +49,7 @@ jobs: go-version: 1.19.x - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Generate Assets run: | @@ -68,10 +68,10 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Generate SBOM - uses: CycloneDX/gh-gomod-generate-sbom@v1 + uses: CycloneDX/gh-gomod-generate-sbom@v2 with: version: v1 - args: mod -licenses -json -output - \ No newline at end of file + args: mod -licenses -json -output - diff --git a/.github/workflows/ci-check-gomod.yml b/.github/workflows/ci-check-gomod.yml index 264a925e..36ffb0ec 100644 --- a/.github/workflows/ci-check-gomod.yml +++ b/.github/workflows/ci-check-gomod.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: check run: | diff --git a/.github/workflows/operator-cd.yml b/.github/workflows/operator-cd.yml index 151c81b6..9ad4d493 100644 --- a/.github/workflows/operator-cd.yml +++ b/.github/workflows/operator-cd.yml @@ -17,24 +17,24 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: ${{ env.GO_VERSION }} - name: Cache dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles ('**/go.sum') }} restore-keys: | ${{ runner.os }}-go- - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 with: python-version: '3.x' diff --git a/.github/workflows/publish-operators-for-e2e-tests.yml b/.github/workflows/publish-operators-for-e2e-tests.yml index ae0cea7a..c5229278 100644 --- a/.github/workflows/publish-operators-for-e2e-tests.yml +++ b/.github/workflows/publish-operators-for-e2e-tests.yml @@ -18,7 +18,7 @@ jobs: steps: # Checkout from PR event - in that case the comment field is empty - name: Checkout code from PR event - uses: actions/checkout@v2 + uses: actions/checkout@v4 if: ${{ github.event.comment == '' }} with: ref: ${{github.event.pull_request.head.ref}} @@ -39,7 +39,7 @@ jobs: # Checkout the code based on the data retrieved from the previous step # Is executed only for comment events - in that case the pull_request field is empty - name: Checkout code from PR - uses: actions/checkout@v2 + uses: actions/checkout@v4 if: ${{ github.event.pull_request == '' }} with: repository: ${{ fromJson(steps.request.outputs.data).head.repo.full_name }} @@ -47,19 +47,19 @@ jobs: fetch-depth: 0 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: ${{ env.GO_VERSION }} - name: Cache dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles ('**/go.sum') }} restore-keys: | ${{ runner.os }}-go- - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 with: python-version: '3.x'