mirror of
https://github.com/YuzuZensai/palworld-server-docker.git
synced 2026-01-06 04:32:43 +00:00
49 lines
1.0 KiB
YAML
49 lines
1.0 KiB
YAML
name: Linting
|
|
on:
|
|
pull_request:
|
|
|
|
run-name: Pull request - ${{ github.event.pull_request.number }}
|
|
jobs:
|
|
shellcheck:
|
|
name: Lint - Shell
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Shellcheck
|
|
uses: ludeeus/action-shellcheck@2.0.0
|
|
|
|
dockerlint:
|
|
name: Lint - Docker
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- uses: hadolint/hadolint-action@v3.1.0
|
|
with:
|
|
dockerfile: Dockerfile
|
|
|
|
markdownlint:
|
|
name: Lint - Markdown
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Lint - Markdown
|
|
uses: DavidAnson/markdownlint-cli2-action@v15
|
|
with:
|
|
config: ".markdownlint.jsonc"
|
|
globs: "**/*.md"
|
|
|
|
test-build:
|
|
name: Docker - Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Docker - Build
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
push: false
|