From d2d9dfddfc2bc35a6308b8dad5a52ad5e0abca49 Mon Sep 17 00:00:00 2001 From: Jack Back Date: Wed, 27 Mar 2024 13:43:53 +0000 Subject: [PATCH] build: use Docker for gsc-tool (#1) --- .gitea/workflows/test.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 98b8535..356a63e 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -9,13 +9,13 @@ jobs: steps: - name: Check out files - uses: actions/checkout@main - - - name: Setup gsc-tool - uses: diamante0018/setup-gsc-tool@main - with: - version: "1.4.0" + uses: actions/checkout@v4 - name: Compile scripts - run: | - gsc-tool -m comp -g iw5 -s pc . + uses: addnab/docker-run-action@v3 + with: + image: xensik/gsc-tool:latest + options: --volumes-from=${{ env.JOB_CONTAINER_NAME }} + run: | + cd ${{ github.workspace }} + gsc-tool --dry -m comp -g iw5 -s pc "raw/scripts"