From 71677ef995e9c96599c480330b3b3082b92671a8 Mon Sep 17 00:00:00 2001 From: shmyga Date: Wed, 11 Nov 2026 22:40:56 +0300 Subject: [PATCH] ci(action): add test action --- .gitea/workflows/test.yaml | 25 +++++++++++++++++++++++++ config.example.json | 2 -- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 .gitea/workflows/test.yaml diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..9e0bc0c --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -0,0 +1,25 @@ +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 + - uses: actions/cache@v6 + id: cache-haxe + with: + key: ${{ runner.os }}-haxe-${{ hashFiles('**/haxetool.json') }} + path: $HOME/sdk + - if: steps.cache-haxe.outputs.cache-hit != 'true' + # run: npx hxt app:flash:setup + run: | + mkdir $HOME/sdk + echo 'test' | $HOME/sdk/test + # - run: pm lint -vv + - run: cat $HOME/sdk/test diff --git a/config.example.json b/config.example.json index 3e23f03..f283f70 100644 --- a/config.example.json +++ b/config.example.json @@ -1,6 +1,4 @@ { - "SdkDir": "$HOME/sdk", - "Develop": false, "UseRuffle": true, "Key": { "store": "keystore.jks",