Skip to content

fix(ci): it did not #35

fix(ci): it did not

fix(ci): it did not #35

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- uses: mlugg/setup-zig@v1
with:
version: 0.13.0
- name: check out Lua
if: startsWith(matrix.os 'windows') != true

Check failure on line 15 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 15, Col: 13): Unexpected symbol: ''windows''. Located at position 22 within expression: startsWith(matrix.os 'windows') != true .github/workflows/test.yml (Line: 23, Col: 13): Unexpected symbol: ''windows''. Located at position 22 within expression: startsWith(matrix.os 'windows')
uses: actions/checkout@v4
with:
repository: robbielyman/lua
path: .lua
- name: compile Lua
run: cd .lua && zig build -Dshared=true --prefix .
- name: set up Lua (windows)
if: startsWith(matrix.os 'windows')
uses: leafo/gh-actions-lua@v10
with:
luaVersion: "5.4.7"
- uses: luarocks/gh-actions-luarocks@v5
- run: luarocks install busted
- run: zig build test
check-fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: mlugg/setup-zig@v1
with:
version: 0.13.0
- run: zig fmt --check .