diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index e1eaf9d..953fbf2 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -1,13 +1,15 @@ -name: Check syntax -on: [push,workflow_dispatch] -jobs: - check: - runs-on: docker - steps: +name: Check syntax +on: [push,workflow_dispatch] +jobs: + check: + runs-on: alpine + steps: + - name: Setup Alpine + uses: https://git.swee.codes/swee/setup-alpine@main + with: + additional: python3 - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - - uses: actions/setup-node@v4 - - name: Install dependencies + - name: Install JSHint run: npm --global install jshint - run: python3 -m py_compile sweebot.py - run: jshint script.js \ No newline at end of file