Nullable range and location #9
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 - Vanilla | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
# TODO: fix tests on windows and enable again | |
# os: [ubuntu-latest, macos-13, windows-latest] | |
os: [ubuntu-latest, macos-13] | |
haxe: [latest, "2024-11-27_development_2dc801f"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: krdlab/setup-haxe@master | |
with: | |
haxe-version: ${{ matrix.haxe }} | |
- name: Cache haxelib | |
id: cache-haxelib | |
uses: actions/cache@v3.0.11 | |
with: | |
path: .haxelib | |
key: ${{ hashFiles('./install.hxml') }} | |
- name: Install npm dependencies | |
run: | | |
npm ci --ignore-scripts | |
- name: Install haxelib dependencies | |
if: steps.cache-haxelib.outputs.cache-hit != 'true' | |
run: | | |
haxelib newrepo | |
haxelib state load install.hxml | |
- name: Check dependencies | |
run: | | |
haxe -version | |
haxelib list | |
- name: Build Haxe LSP | |
run: haxe build.hxml | |
- name: Run tests | |
run: haxe test.hxml |