Skip to content

Test: CI cache

Test: CI cache #13415

Workflow file for this run

name: Block
on:
push:
branches: [master, develop]
tags: ['*']
pull_request:
types: [opened, reopened, synchronize]
workflow_dispatch:
env:
cwd: ${{github.workspace}}/packages/block
defaults:
run:
working-directory: packages/block
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test-block:
needs: 'build-monorepo'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- name: 'Load cache'
uses: 'actions/cache@v3'
with:
path: '.'
key: '${{ runner.os }}-node-18-${{ git rev-parse HEAD }}'

Check failure on line 33 in .github/workflows/block-build.yml

View workflow run for this annotation

GitHub Actions / Block

Invalid workflow file

The workflow is not valid. .github/workflows/block-build.yml (Line: 33, Col: 16): Unrecognized named-value: 'git'. Located at position 1 within expression: git rev-parse HEAD
restore-keys: '${{ runner.os }}-node-18'