Skip to content

restore key prefix #172

restore key prefix

restore key prefix #172

Workflow file for this run

name: Unit Tests
run-name: ${{ github.actor }} is testing ${{ github.ref }}
on: [push]
jobs:
UnitTests:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install build dependencies
run: |
sudo apt-get install -y gnulib
- name: Cache library dependencies
uses: actions/cache@v3
with:
path: |
libyaml/
lua/
key: "\
${{ runner.os }}-\
${{ hashFiles('Makefile') }}-\
${{ hashFiles('.github/workflows/unit-tests.yaml') }}-\
${{ github.ref == 'refs/heads/main' && github.sha || env.DATE }}"
restore-keys: "\

Check failure on line 26 in .github/workflows/unit-tests.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/unit-tests.yaml

Invalid workflow file

You have an error in your yaml syntax on line 26
${{ runner.os }}-\
${{ hashFiles('Makefile') }}-\
${{ hashFiles('.github/workflows/unit-tests.yaml') }}-\
- name: Build binary
run: make YL_LDLIBS='-llua -lyaml -lm'
- name: Run tests
run: ./test.sh