build: rename workflow (#2)
All checks were successful
lint / Lint GSC files (push) Successful in 6s

This commit was merged in pull request #2.
This commit is contained in:
2024-07-01 15:56:38 +00:00
parent 9a7bbbff0d
commit bd40e0d545

23
.gitea/workflows/lint.yml Normal file
View File

@@ -0,0 +1,23 @@
name: lint
on: [push]
jobs:
lint:
name: Lint GSC files
runs-on: ubuntu-latest
steps:
- name: Check out files
uses: actions/checkout@v4
- name: Lint
uses: addnab/docker-run-action@v3
with:
registry: gcr.io
image: xensik/gsc-tool:latest
options: --volumes-from=${{ env.JOB_CONTAINER_NAME }}
run: |
cd ${{ github.workspace }}
gsc-tool --dry -m comp -g iw6 -s pc "common_scripts"
gsc-tool --dry -m comp -g iw6 -s pc "maps"
gsc-tool --dry -m comp -g iw6 -s pc "scripts"