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 - uses: actions/checkout@v7
- run: echo '' > requirements.txt - run: echo '' > requirements.txt
- uses: https://git.shmyga.ru/InfernalGames/project-manager@master - uses: https://git.shmyga.ru/InfernalGames/project-manager@master
- name: Restore haxe cache - uses: actions/cache/restore@v6
id: cache-haxe-restore id: cache-haxe
uses: actions/cache/restore@v6
with: with:
key: ${{ runner.os }}-haxe key: ${{ runner.os }}-haxe-${{ hashFiles('**/haxetool.json') }}-v1
path: | path: /root/sdk
$HOME/sdk - uses: actions/cache/restore@v6
./build id: cache-haxe-build
with:
key: ${{ runner.os }}-haxe-build
path: ./build
- run: echo "${{ secrets.KEY_STORE }}" | base64 --decode > keystore.jks - run: echo "${{ secrets.KEY_STORE }}" | base64 --decode > keystore.jks
- run: pm build:docker -vv - run: pm build:docker -vv
- name: Save haxe cache - if: steps.cache-haxe.outputs.cache-hit != 'true'
id: cache-haxe-save
#if: always() && steps.cache-haxe-restore.outputs.cache-hit != 'true'
if: always()
uses: actions/cache/save@v6 uses: actions/cache/save@v6
with: with:
key: ${{ steps.cache-haxe-restore.outputs.cache-primary-key }} key: ${{ steps.cache-haxe.outputs.cache-primary-key }}
path: | path: /root/sdk
$HOME/sdk - uses: actions/cache/save@v6
./build with:
key: ${{ steps.cache-haxe-build.outputs.cache-primary-key }}
path: ./build
- uses: docker/login-action@v4 - uses: docker/login-action@v4
with: with:
registry: git.shmyga.ru 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, "UseRuffle": true,
"Key": { "Key": {
"store": "keystore.jks", "store": "keystore.jks",