Skip to content

fix(tmp): use stdpath('cache') for tmp files #16

fix(tmp): use stdpath('cache') for tmp files

fix(tmp): use stdpath('cache') for tmp files #16

Workflow file for this run

---
name: Test on Windows
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
test-windows:
name: Test Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Restore cache
uses: actions/cache@v4
with:
path: |
.tests
~\scoop
~\AppData\Roaming\LJ4W
~\AppData\Roaming\luarocks
key: ${{ runner.os }}-tests
- name: Install dependencies
run: ./scripts/install-ci-test-requirements.ps1
- name: Save cache
id: cache-primes-save
uses: actions/cache/save@v4
with:
path: |
.tests
~\scoop
~\AppData\Roaming\LJ4W
~\AppData\Roaming\luarocks
key: ${{ runner.os }}-tests
- name: Run tests
run: ./scripts/tests.ps1