Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade gha from v3 to v4 #169

Merged
merged 4 commits into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/.build_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand Down Expand Up @@ -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') }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/security_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ 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
path: bearer.html
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
Expand All @@ -67,15 +67,15 @@ 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
path: brakeman.html
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
Expand All @@ -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
Expand Down
Loading