This commit is contained in:
25
.gitea/workflows/ci.yml
Normal file
25
.gitea/workflows/ci.yml
Normal file
@ -0,0 +1,25 @@
|
||||
name: ci
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: Lint GSC files
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out files
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
fetch-depth: 0
|
||||
|
||||
- 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 "data/maps"
|
||||
gsc-tool --dry -m parse -g iw6 -s pc "data/scripts"
|
Reference in New Issue
Block a user