Update the dependencies #43
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: continuous-integration | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fetch sources | |
uses: actions/checkout@v4 | |
- name: Set up Lix | |
uses: lix-pm/setup-lix@master | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
cache: npm | |
node-version: 22 | |
- name: Cache dependencies | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/haxe | |
~/AppData/Roaming/haxe | |
key: haxe-${{runner.os}}-lix-${{hashFiles('.haxerc', 'haxe_libraries/*.hxml')}} | |
restore-keys: haxe-${{runner.os}}-lix- | |
- name: Install dependencies | |
run: | | |
lix download | |
npm ci | |
- name: Run tests | |
run: haxe test.hxml | |
run: | |
needs: test | |
runs-on: ${{matrix.platform}} | |
strategy: | |
matrix: | |
platform: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 21 | |
- uses: cedx/setup-ant@main | |
with: | |
optional-tasks: true | |
- run: ant -version |