From 956ccac51a1b128d4bfc70e5b291aec40351c5d5 Mon Sep 17 00:00:00 2001 From: Ulises Galeano <34582172+tamalerhino@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:22:20 -0500 Subject: [PATCH] update cosign and checkout steps to latest versions --- .github/workflows/ci.yml | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3acfdca..582de33 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,18 +16,28 @@ jobs: runs-on: ubuntu-latest permissions: security-events: write - + + strategy: + fail-fast: false + matrix: + include: + - language: javascript-typescript + build-mode: none + steps: - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: - languages: javascript + languages: ${{ matrix.language }} + build-mode: ${{ matrix.build-mode }} - name: Autobuild uses: github/codeql-action/autobuild@v3 - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3 + with: + category: "/language:${{matrix.language}}" build-push: name: Build and Push Container Image @@ -36,12 +46,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to Dockerhub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} @@ -80,7 +90,7 @@ jobs: steps: - name: Login to Dockerhub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }}