diff --git a/.github/workflows/.build_image.yml b/.github/workflows/.build_image.yml index f7180eaf..afe85c1f 100644 --- a/.github/workflows/.build_image.yml +++ b/.github/workflows/.build_image.yml @@ -75,7 +75,7 @@ jobs: --health-retries 5 steps: # Check out repository - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Add git HEAD info to docker image run: | @@ -88,7 +88,7 @@ jobs: install: true - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache # Key is named differently to avoid collision @@ -128,7 +128,7 @@ jobs: BUNDLE_GITHUB__COM=x-access-token:${{ secrets.X12_TOKEN }} - name: Setup cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: cache key: ${{ runner.os }}-cache-${{ hashFiles('**/sysdig-cli-scanner', '**/latest_version.txt', '**/db/main.db.meta.json', '**/scanner-cache/inlineScannerCache.db') }} diff --git a/.github/workflows/security_checks.yml b/.github/workflows/security_checks.yml index 3fee0c66..242313c6 100644 --- a/.github/workflows/security_checks.yml +++ b/.github/workflows/security_checks.yml @@ -38,7 +38,7 @@ jobs: run: | bearer scan --quiet --config-file ./bearer.yml --format html --output bearer.html . - name: upload bearer failure report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: Security Reports @@ -46,7 +46,7 @@ jobs: brakeman: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 - name: Cache Gems uses: actions/cache@v1 @@ -67,7 +67,7 @@ jobs: run: | brakeman --format html --output brakeman.html - name: upload brakeman failure report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: Security Reports @@ -75,7 +75,7 @@ jobs: bundler-audit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 - name: Cache Gems uses: actions/cache@v1 @@ -96,7 +96,7 @@ jobs: run: | bundler-audit --output=bundler_audit.txt - name: upload bundler-audit failure report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: Security Reports