Skip to content

Lint GitHub Action workflows #8

Lint GitHub Action workflows

Lint GitHub Action workflows #8

Workflow file for this run

name: PR
on: pull_request
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
actionlint:
name: Lint GitHub Action Workflows
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check workflow files
uses: docker://ponylang/shared-docker-ci-actionlint:20230810
with:
args: -color
lint-entrypoint-py:
name: Lint entrypoint.py
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: pylint
run: make pylint
superlinter:
name: Lint bash, docker, markdown, and yaml
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Lint codebase
uses: docker://github/super-linter:v3.8.3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: true
VALIDATE_BASH: true
VALIDATE_DOCKERFILE: true
VALIDATE_MD: true
VALIDATE_YAML: true
validate-public-release-image-builds:
name: Validate public release image builds
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Docker build
run: make build-release config=public
validate-public-latest-image-builds:
name: Validate public latest image builds
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Docker build
run: make build-latest config=public
validate-private-release-image-builds:
name: Validate private release image builds
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Docker build
run: make build-release config=private
env:
MATERIAL_INSIDERS_ACCESS: ${{ secrets.MATERIAL_INSIDERS_ACCESS }}
validate-private-latest-image-builds:
name: Validate private latest image builds
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Docker build
run: make build-latest config=private
env:
MATERIAL_INSIDERS_ACCESS: ${{ secrets.MATERIAL_INSIDERS_ACCESS }}