Skip to content

PI-1570

PI-1570 #961

Workflow file for this run

name: Check
# Build, test and analyse source code before merging
on:
push:
branches-ignore:
- main
jobs:
build:
name: Build
uses: ./.github/workflows/build.yml
analyse:
name: Analyse
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/analyse
with:
token: ${{ secrets.SONAR_TOKEN }}
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
statuses: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Lint changes
uses: github/super-linter/slim@v5
env:
DEFAULT_BRANCH: main
VALIDATE_ALL_CODEBASE: false # changes only
VALIDATE_BASH: true
VALIDATE_BASH_EXEC: true
VALIDATE_DOCKERFILE_HADOLINT: true
VALIDATE_GITHUB_ACTIONS: true
VALIDATE_RUBY: true
VALIDATE_XML: true
VALIDATE_YAML: true
LINTER_RULES_PATH: /
GITHUB_ACTIONS_CONFIG_FILE: .github/actionlint.yml
GITHUB_ACTIONS_COMMAND_ARGS: -ignore=SC.+:info:.+
GITHUB_TOKEN: ${{ github.token }}