ci(action): add test action
test / test (push) Successful in 1m33s

This commit is contained in:
2026-11-11 22:57:37 +03:00
parent 8787507db2
commit 9f4036177a
2 changed files with 33 additions and 2 deletions
+33
View File
@@ -0,0 +1,33 @@
name: test
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- run: echo '' > requirements.txt
- uses: https://git.shmyga.ru/InfernalGames/project-manager@master
with:
setup-nodejs: true
- name: Restore haxe cache
id: cache-haxe-restore
uses: actions/cache/restore@v6
with:
key: ${{ runner.os }}-haxe
path: |
$HOME/sdk
- run: npx hxt app:flash:setup
- run: echo $HOME
- run: ls $HOME
- run: pm lint -vv
- name: Save haxe cache
id: cache-haxe-save
#if: always() && steps.cache-haxe-restore.outputs.cache-hit != 'true'
if: always()
uses: actions/cache/save@v6
with:
key: ${{ steps.cache-haxe-restore.outputs.cache-primary-key }}
path: |
$HOME/sdk
-2
View File
@@ -1,6 +1,4 @@
{
"SdkDir": "$HOME/sdk",
"Develop": false,
"UseRuffle": true,
"Key": {
"store": "keystore.jks",