CI: test docker style action #9
This file contains 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
name: GitHub CI | |
on: | |
pull_request: | |
workflow_dispatch: | |
push: | |
tags: | |
- "*" | |
branches: | |
- main | |
env: | |
MAIN_PYTHON_VERSION: '3.11' | |
MAIN_PYTHON_VERSION_WINDOWS_SELFHOSTED: '3.9' | |
PACKAGE_NAME: 'ansys-geometry-core' | |
DOCUMENTATION_CNAME: 'geometry.docs.pyansys.com' | |
ANSRV_GEO_IMAGE: 'ghcr.io/ansys/geometry' | |
ANSRV_GEO_IMAGE_WINDOWS_TAG: ghcr.io/ansys/geometry:windows-latest | |
ANSRV_GEO_PORT: 700 | |
ANSRV_GEO_LICENSE_SERVER: ${{ secrets.LICENSE_SERVER }} | |
GEO_CONT_NAME: ans_geo | |
RESET_IMAGE_CACHE: 6 | |
IS_WORKFLOW_RUNNING: True | |
ARTIFACTORY_VERSION: v242 | |
MEILISEARCH_API_KEY: ${{ secrets.MEILISEARCH_API_KEY }} | |
MEILISEARCH_HOST_URL: ${{ vars.MEILISEARCH_HOST_URL }} | |
MEILISEARCH_PUBLIC_API_KEY: ${{ secrets.MEILISEARCH_PUBLIC_API_KEY }} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
# docker-lint: | |
# name: Dockerfile linting | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout repository | |
# uses: actions/checkout@v4 | |
# - name: PyAnsys dockerfile check | |
# uses: ansys/actions/docker-style@feat/lint_dockerfile | |
# with: | |
# directory: docker_files | |
# recursive: false | |
docker-lint: | |
name: Dockerfile linting through code-style action | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check code style | |
uses: ansys/actions/code-style@v5 | |
with: | |
docker-recursive: true | |