fix: upate version of actions/cache in wiz-cli step #1425
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request Check | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- reopened | |
- synchronize | |
merge_group: | |
types: | |
- checks_requested | |
concurrency: | |
group: ci-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
semantic-title: | |
name: Check PR Title for Semantic Release Type | |
runs-on: ubuntu-22.04 | |
permissions: | |
pull-requests: read | |
steps: | |
- name: Check PR Title | |
if: github.event_name == 'pull_request' | |
uses: amannn/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
validateSingleCommit: true | |
check-workflow: | |
name: Check reusable workflow | |
runs-on: ubuntu-22.04 | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/[email protected] | |
- run: | | |
for file in reusable-workflows/*.yml; do | |
filename=$(basename $file) | |
cmp --silent .github/workflows/$filename $file || (echo "::error::When editing reusable workflows, update both \`reusable-workflows\` and \`.github/workflows\` for file: $filename" && exit 1) | |
done | |
test-actions: | |
name: Check actions | |
runs-on: ubuntu-22.04 | |
defaults: | |
run: | |
working-directory: actions | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/[email protected] | |
- uses: pnpm/[email protected] | |
with: | |
version: 9 | |
- uses: actions/[email protected] | |
with: | |
node-version: "20" | |
cache: "pnpm" | |
cache-dependency-path: actions/pnpm-lock.yaml | |
- run: pnpm install --frozen-lockfile --ignore-scripts | |
- run: make test | |
- run: make lint | |
- run: make build | |
- name: Check if built version was committed | |
run: | | |
git diff --exit-code || (echo "::error::You forgot to commit the built actions, run 'make' locally" && exit 1) | |
test-lambdas: | |
name: Check Lambda@Edge Functions | |
runs-on: ubuntu-22.04 | |
defaults: | |
run: | |
working-directory: terraform-module/edge-lambdas | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/[email protected] | |
- uses: pnpm/[email protected] | |
with: | |
version: 9 | |
- uses: actions/[email protected] | |
with: | |
node-version: "20" | |
cache: "pnpm" | |
cache-dependency-path: terraform-module/edge-lambdas/pnpm-lock.yaml | |
- run: pnpm install --frozen-lockfile --ignore-scripts | |
- run: make test | |
- run: make lint | |
- run: make build | |
- name: Check if built version was committed | |
run: | | |
git diff --exit-code || (echo "::error::You forgot to commit the built actions, run 'make' locally" && exit 1) |