fix project name to ESS Community Helm Chart #701
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2024 New Vector Ltd | |
# | |
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial | |
name: Scripts linting | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
permissions: | |
contents: read | |
packages: read | |
jobs: | |
shellcheck: | |
runs-on: cpu-s | |
container: | |
image: ghcr.io/${{ github.repository }}/ci-runner | |
credentials: | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run ShellCheck | |
run: shellcheck scripts/*.sh | |
python: | |
runs-on: cpu-s | |
container: | |
image: ghcr.io/${{ github.repository }}/ci-runner | |
credentials: | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Define a cache for the virtual environment based on the dependencies lock file | |
uses: actions/cache@v3 | |
with: | |
path: ./.venv | |
key: venv-${{ hashFiles('poetry.lock') }} | |
- name: Install venv | |
run: | | |
poetry env info | |
poetry install | |
echo "$(poetry env info -p)/bin" >> "${GITHUB_PATH}" | |
- name: Run ruff check | |
run: | | |
ruff check | |
- name: Run ruff format | |
run: | | |
ruff format --check | |
- name: pytest scripts | |
run: | | |
pytest --version | |
pytest scripts |