added editKey to prevent editing of old snippets #21
Workflow file for this run
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: 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' | |
run: | | |
haxelib git hx4compat https://github.com/HaxeFoundation/hx4compat.git | |
- name: Build | |
run: | | |
cd tests | |
haxe RunCi.hxml | |
neko RunCi.n ${{ matrix.target }} |