diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index e4cb58c20..32dad9322 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -35,7 +35,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/operatorhub.yml b/.github/workflows/operatorhub.yml index 5bb59fa1a..2281458b6 100644 --- a/.github/workflows/operatorhub.yml +++ b/.github/workflows/operatorhub.yml @@ -21,7 +21,7 @@ jobs: # Initialize environment and install Carvel toolsuite - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Initialize run: | RELEASE_VERSION=${GITHUB_REF#refs/*/} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index a653a4e68..ef2108716 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -5,7 +5,7 @@ on: branches: [ main ] env: - GO_VERSION: 1.19.2 + GO_VERSION: ~1.19.3 K8S_VERSION: v1.24.1 jobs: @@ -16,11 +16,11 @@ jobs: container: us.gcr.io/cf-rabbitmq-for-k8s-bunny/rabbitmq-for-kubernetes-ci steps: - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Unit tests run: make unit-tests - name: Integration tests @@ -31,11 +31,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Dry run examples run: | export GOPATH=$HOME/go @@ -63,11 +63,11 @@ jobs: - pivotalrabbitmq/rabbitmq:main-otp-max-bazel steps: - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: System tests env: K8S_VERSION: ${{ matrix.k8s }} @@ -85,7 +85,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} - name: Install Bats @@ -94,7 +94,7 @@ jobs: cd "$HOME"/bats-core sudo ./install.sh /usr/local - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: kubectl rabbitmq tests run: | export GOPATH=$HOME/go diff --git a/.github/workflows/prometheus-rules.yml b/.github/workflows/prometheus-rules.yml index 7fb322486..d2d54a5f4 100644 --- a/.github/workflows/prometheus-rules.yml +++ b/.github/workflows/prometheus-rules.yml @@ -7,17 +7,17 @@ on: - observability/prometheus/rules/**/*.y*ml env: - GO_VERSION: 1.19.2 + GO_VERSION: ~1.19.2 jobs: rules: runs-on: ubuntu-latest steps: - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Create Prometheus rule file run: | make install-tools diff --git a/.github/workflows/publish-versioned-api-ref.yml b/.github/workflows/publish-versioned-api-ref.yml index 1118861a2..94f6f831f 100644 --- a/.github/workflows/publish-versioned-api-ref.yml +++ b/.github/workflows/publish-versioned-api-ref.yml @@ -12,14 +12,14 @@ jobs: steps: - name: Checkout operator codebase - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: cluster-operator - name: Get the version id: get_version run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - name: Checkout wiki codebase - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: ${{ github.repository }}.wiki path: wiki