mirror of
https://github.com/YuzuZensai/palworld-server-docker.git
synced 2026-01-06 04:32:43 +00:00
first working version
This commit is contained in:
30
.github/workflows/linting.yml
vendored
Normal file
30
.github/workflows/linting.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Linting
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
shellcheck:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Run Shellcheck
|
||||
uses: azohra/shell-linter@latest
|
||||
with:
|
||||
severity: "error"
|
||||
dockerlint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- uses: hadolint/hadolint-action@v2.0.0
|
||||
with:
|
||||
dockerfile: Dockerfile
|
||||
lint: 'hadolint'
|
||||
failure-threshold: error
|
||||
test-build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Build the Image
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
push: false
|
||||
Reference in New Issue
Block a user