ci(action): add test action
test / test (push) Successful in 51s

This commit is contained in:
2026-11-12 00:20:45 +03:00
parent 8787507db2
commit b47246f6af
3 changed files with 30 additions and 17 deletions
+16 -15
View File
@@ -17,26 +17,27 @@ jobs:
- uses: actions/checkout@v7
- run: echo '' > requirements.txt
- uses: https://git.shmyga.ru/InfernalGames/project-manager@master
- name: Restore haxe cache
id: cache-haxe-restore
uses: actions/cache/restore@v6
- uses: actions/cache/restore@v6
id: cache-haxe
with:
key: ${{ runner.os }}-haxe
path: |
$HOME/sdk
./build
key: ${{ runner.os }}-haxe-${{ hashFiles('**/haxetool.json') }}-v1
path: /root/sdk
- uses: actions/cache/restore@v6
id: cache-haxe-build
with:
key: ${{ runner.os }}-haxe-build
path: ./build
- run: echo "${{ secrets.KEY_STORE }}" | base64 --decode > keystore.jks
- run: pm build:docker -vv
- name: Save haxe cache
id: cache-haxe-save
#if: always() && steps.cache-haxe-restore.outputs.cache-hit != 'true'
if: always()
- if: steps.cache-haxe.outputs.cache-hit != 'true'
uses: actions/cache/save@v6
with:
key: ${{ steps.cache-haxe-restore.outputs.cache-primary-key }}
path: |
$HOME/sdk
./build
key: ${{ steps.cache-haxe.outputs.cache-primary-key }}
path: /root/sdk
- uses: actions/cache/save@v6
with:
key: ${{ steps.cache-haxe-build.outputs.cache-primary-key }}
path: ./build
- uses: docker/login-action@v4
with:
registry: git.shmyga.ru
+14
View File
@@ -0,0 +1,14 @@
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@haxetool
with:
setup-haxetool: true
- run: pm lint -vv
-2
View File
@@ -1,6 +1,4 @@
{
"SdkDir": "$HOME/sdk",
"Develop": false,
"UseRuffle": true,
"Key": {
"store": "keystore.jks",