diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 840704372..4036f7a42 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -32,9 +32,9 @@ jobs: language: ['go', 'javascript-typescript'] steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Install Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version-file: ./backend/go.mod - name: Initialize CodeQL diff --git a/.github/workflows/images-releases.yaml b/.github/workflows/images-releases.yaml index 6a8a42a97..d8db29562 100644 --- a/.github/workflows/images-releases.yaml +++ b/.github/workflows/images-releases.yaml @@ -24,16 +24,16 @@ jobs: steps: - name: Set up Docker Buildx - uses: docker/setup-buildx-action@f7ce87c1d6bead3e36075b2ce75da1f6cc28aaca + uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 - name: Login to DockerHub - uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 + uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 with: username: ${{ secrets.DOCKER_HUB_RELEASE_USERNAME }} password: ${{ secrets.DOCKER_HUB_RELEASE_PASSWORD }} - name: Login to quay.io - uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 + uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 with: registry: quay.io username: ${{ secrets.QUAY_USERNAME_RELEASE_USERNAME }} @@ -45,10 +45,10 @@ jobs: echo ::set-output name=tag::${GITHUB_REF##*/} - name: Checkout Source Code - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 - name: Release Build ${{ matrix.name }} - uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 + uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 id: docker_build_release with: context: ${{ matrix.context }} @@ -77,7 +77,7 @@ jobs: # Upload artifact digests - name: Upload artifact digests - uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 with: name: image-digest ${{ matrix.name }} path: image-digest @@ -99,7 +99,7 @@ jobs: mkdir -p image-digest/ - name: Download digests of all images built - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 + uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 with: path: image-digest/ @@ -123,7 +123,7 @@ jobs: # Upload artifact digests - name: Upload artifact digests - uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 with: name: image-digest-output.txt-${{ steps.tag.outputs.tag }} path: image-digest-output.txt @@ -131,7 +131,7 @@ jobs: # Upload artifact digests - name: Upload artifact digests - uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 with: name: Makefile.digests-${{ steps.tag.outputs.tag }} path: Makefile.digests diff --git a/.github/workflows/images.yaml b/.github/workflows/images.yaml index f6721ba68..0afed4d50 100644 --- a/.github/workflows/images.yaml +++ b/.github/workflows/images.yaml @@ -27,10 +27,10 @@ jobs: steps: - name: Set up Docker Buildx - uses: docker/setup-buildx-action@f7ce87c1d6bead3e36075b2ce75da1f6cc28aaca + uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 - name: Login to quay.io for CI - uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 + uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 with: registry: quay.io username: ${{ secrets.QUAY_USERNAME_CI }} @@ -46,14 +46,14 @@ jobs: fi - name: Checkout Source Code - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 with: ref: ${{ steps.tag.outputs.tag }} # master branch pushes - name: CI Build ${{ matrix.name }} if: ${{ github.event_name != 'pull_request_target' }} - uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 + uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 id: docker_build_ci_master with: context: ${{ matrix.context }} @@ -77,7 +77,7 @@ jobs: # PR updates - name: CI Build ${{ matrix.name }} if: ${{ github.event_name == 'pull_request_target' }} - uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 + uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 id: docker_build_ci_pr with: context: ${{ matrix.context }} @@ -104,7 +104,7 @@ jobs: # Upload artifact digests - name: Upload artifact digests - uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 with: name: image-digest ${{ matrix.name }} path: image-digest @@ -122,7 +122,7 @@ jobs: mkdir -p image-digest/ - name: Download digests of all images built - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 + uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 with: path: image-digest/ diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 618b89b2a..3057a7cb3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,11 +11,11 @@ jobs: frontend: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 with: submodules: true - name: Use Node.js - uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a + uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 with: node-version: '20.x' - name: Install dependencies @@ -26,9 +26,9 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout code - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 - name: Setup Go - uses: actions/setup-go@6c1fd22b67f7a7c42ad9a45c0f4197434035e429 + uses: actions/setup-go@c0137caad775660c0844396c52da96e560aba63d with: go-version: '1.22' - name: Check Go module vendoring @@ -39,14 +39,14 @@ jobs: go mod verify test -z "$(git status --porcelain)" || (echo "please run 'go mod tidy && go mod vendor', and submit your changes"; exit 1) - name: Run Go static checks - uses: golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd + uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 with: working-directory: ./backend version: v2.0.2 args: --config=.golangci.yml skip-cache: true - name: Setup Node.js - uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a + uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 with: node-version: '20.x' - name: Install NPM dependencies