Skip to content

Added explicit creation of nonroot user to Dockerfile #53

Added explicit creation of nonroot user to Dockerfile

Added explicit creation of nonroot user to Dockerfile #53

Workflow file for this run

name: code-style
concurrency:
group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}
cancel-in-progress: true
on:
pull_request:
push:
branches: [dev]
workflow_dispatch:
jobs:
style:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: 'x64'
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: |
python -m pip install --progress-bar off --upgrade pip setuptools wheel
python -m pip install --progress-bar off .[style]
- name: Run Ruff
run: ruff check .
- name: Run codespell
uses: codespell-project/actions-codespell@master
with:
check_filenames: true
check_hidden: true
skip: './build,./doc/images,./Tutorial,./.git,./.mypy_cache,./.pytest_cache'
ignore_words_file: ./.codespellignore
# - name: Run pydocstyle
# run: pydocstyle .
# - name: Run bibclean
# run: bibclean-check doc/references.bib