Skip to content

Commit

Permalink
Merge pull request #657 from kubescape/bump
Browse files Browse the repository at this point in the history
update all actions to latest version
  • Loading branch information
matthyx authored Feb 7, 2025
2 parents 8e83c4a + 5e88c64 commit 39d812f
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/create-release-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ jobs:
REGO_ARTIFACT_KEY_NAME: ${{ steps.set_outputs.outputs.REGO_ARTIFACT_KEY_NAME }}
REGO_ARTIFACT_PATH: ${{ steps.set_outputs.outputs.REGO_ARTIFACT_PATH }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
name: Checkout repo content

- name: Set up Go 1.21
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.21

Expand All @@ -49,7 +49,7 @@ jobs:
GOPATH=$(go env GOPATH) make
- name: Setup Python 3.10.6
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.10.6

Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
echo "REGO_ARTIFACT_PATH=${{ env.REGO_ARTIFACT_PATH }}" >> $GITHUB_OUTPUT
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.REGO_ARTIFACT_KEY_NAME }}
path: ${{ env.REGO_ARTIFACT_PATH }}/
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
name: create release and upload assets
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
name: Checkout repository

- name: 'Generate Release Tag'
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
force_push_tag: true
github_token: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # ratchet:actions/[email protected]
- uses: actions/download-artifact@v4
id: download-artifact
with:
name: ${{ env.REGO_ARTIFACT_KEY_NAME }}
Expand All @@ -174,10 +174,10 @@ jobs:
needs: [create-new-tag-and-release]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # ratchet:actions/[email protected]
- uses: actions/checkout@v4
name: checkout repo content
- name: setup python
uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b # ratchet:actions/[email protected]
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-comments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- name: Check out code
if: (github.actor == 'kubescape/sonar')
uses: actions/checkout@v3
uses: actions/checkout@v4
# trigger system tests - TODO
# trigger release process - TODO
- name: say hello
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ jobs:
GOPATH=$(go env GOPATH) make
- name: Set up Regal
uses: StyraInc/setup-regal@v0.1.0
uses: StyraInc/setup-regal@v1
with:
version: v0.10.1

- name: Lint Rego
run: regal lint --format github rules

- name: setup python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.10.6
- name: Install dependencies
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
echo "REGO_ARTIFACT_KEY_NAME=${{ env.REGO_ARTIFACT_KEY_NAME }}" >> $GITHUB_OUTPUT
echo "REGO_ARTIFACT_PATH=${{ env.REGO_ARTIFACT_PATH }}" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # ratchet:actions/[email protected]
- uses: actions/upload-artifact@v4
name: Upload artifact
with:
name: ${{ env.REGO_ARTIFACT_KEY_NAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-releasedev-updates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
git commit -a -m "Updating releaseDev files $(date)"
- name: Push changes
uses: ad-m/github-push-action@master
uses: ad-m/github-push-action@v0.8.0
with:
github_token: ${{ env.GH_ACCESS_TOKEN }}
repository: kubescape/regolibrary-dev
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
uses: actions/checkout@v4
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86 # v2.1.2
uses: ossf/scorecard-action@v2.4.0
with:
results_file: results.sarif
results_format: sarif
Expand All @@ -59,14 +59,14 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
uses: actions/upload-artifact@v4
with:
name: SARIF file
path: results.sarif
retention-days: 5

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 # v2.2.4
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
2 changes: 1 addition & 1 deletion .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@master
uses: actions/checkout@v4
- name: Run GitHub File Sync
uses: BetaHuhn/repo-file-sync-action@v1
with:
Expand Down

0 comments on commit 39d812f

Please sign in to comment.