Skip to content

Commit

Permalink
added cache for lix folder
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexHaxe committed Jul 4, 2024
1 parent c77e9aa commit c69d45e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/tokentree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
node-version: 18
- name: Run npm install
run: npm ci
- name: Cache Lix repository state
uses: actions/cache@v3
with:
path: ~/haxe
key: ${{ runner.os }}-${{ matrix.haxe-version }}-${{ hashFiles('haxe_libraries/*.hxml') }}
- name: Install Haxe version ${{ matrix.haxe-version }}
run: |
npx lix download haxe ${{ matrix.haxe-version }}
Expand Down Expand Up @@ -56,9 +61,6 @@ jobs:
run: (cd checkstyle && npx haxe buildAll.hxml && rm -f coverage.json)
- name: Run Node version with --check
if: matrix.haxe-version != 'nightly'
run: npx neko checkstyle/run.n -s src -s test
- name: Run checkstyle with XML report
if: success() && (matrix.haxe-version != 'nightly')
run: npx neko checkstyle/run.n -s src -s test -r xml
- name: Coverage report
if: success() && (matrix.haxe-version != 'nightly')
Expand Down

0 comments on commit c69d45e

Please sign in to comment.