Skip to content

added editKey to prevent editing of old snippets #23

added editKey to prevent editing of old snippets

added editKey to prevent editing of old snippets #23

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
run: |
set -ex
npm ci lix --ignore-scripts
npx lix download
- name: Build
run: |
npx haxe build.hxml
examples:
runs-on: ubuntu-latest
strategy:
matrix:
target: ['js', 'neko', 'interp', 'hl']
haxe-version: [3.4.7, 4.2.5, latest]
exclude:
- haxe-version: 3.4.7
target: 'interp'
steps:
- uses: actions/checkout@v3
- uses: krdlab/setup-haxe@v1
with:
haxe-version: ${{ matrix.haxe-version }}
- name: Install Dependencies
run: |
haxelib install utest
- name: Install hx4compat
if: matrix.target == latest

Check failure on line 42 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 42, Col: 13): Unrecognized named-value: 'latest'. Located at position 18 within expression: matrix.target == latest
run: |
haxelib git hx4compat https://github.com/HaxeFoundation/hx4compat.git
- name: Build
run: |
cd tests
haxe RunCi.hxml
neko RunCi.n ${{ matrix.target }}