ayaports/.forgejo/workflows/action.yaml

22 lines
580 B
YAML
Raw Normal View History

2024-08-11 20:37:29 +00:00
on:
pull_request:
types: [ assigned, opened, synchronize, reopened ]
2024-08-11 20:38:29 +00:00
2024-08-11 20:00:48 +00:00
jobs:
lint:
run-name: lint
2024-08-11 20:26:58 +00:00
runs-on: x86_64
2024-08-11 20:07:24 +00:00
container:
2024-08-11 20:56:40 +00:00
image: alpinelinux/apkbuild-lint-tools:latest
2024-08-11 21:06:28 +00:00
env:
CI_PROJECT_DIR: ${{ github.workspace }}
CI_DEBUG_BUILD: ${{ runner.debug }}
CI_MERGE_REQUEST_PROJECT_URL: ${{ github.server.url }}/${{ github.repository }}
CI_MERGE_REQUEST_BRANCH_NAME: ${{ github.base.ref }}
2024-08-11 20:00:48 +00:00
steps:
2024-08-11 20:57:28 +00:00
- run: doas apk add nodejs git
2024-08-11 20:43:34 +00:00
- uses: actions/checkout@v4
2024-08-11 20:50:18 +00:00
with:
fetch-depth: 500
2024-08-11 21:06:28 +00:00
- run: lint