From 15d73bba3523ec59fb6879e111cad8555a752005 Mon Sep 17 00:00:00 2001 From: Nicholas Wiltsie Date: Mon, 6 May 2024 15:49:41 -0700 Subject: [PATCH 1/2] Upgrade to latest static analysis Action --- .github/workflows/CICD-base.yaml | 26 -------------------------- .github/workflows/static-analysis.yml | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 26 deletions(-) delete mode 100644 .github/workflows/CICD-base.yaml create mode 100644 .github/workflows/static-analysis.yml diff --git a/.github/workflows/CICD-base.yaml b/.github/workflows/CICD-base.yaml deleted file mode 100644 index d0c5f5f9..00000000 --- a/.github/workflows/CICD-base.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -name: CICD-base - -on: - push: - branches: - - main - pull_request: - branches: - - main -jobs: - CICD-base: - runs-on: ubuntu-latest - - timeout-minutes: 15 - - steps: - # Checkout codebase - - name: Checkout - uses: actions/checkout@v2 - - # Run CICD-base - - name: CICD-base - uses: docker://ghcr.io/uclahs-cds/cicd-base:latest - env: - PYTHON_PYLINT_CONFIG_FILE: true diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml new file mode 100644 index 00000000..608753d8 --- /dev/null +++ b/.github/workflows/static-analysis.yml @@ -0,0 +1,17 @@ +--- +name: CI + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + CICD-base: + runs-on: ubuntu-latest + + steps: + - uses: uclahs-cds/tool-static-analysis@v1 From bf173a8d45a94f0b5c06f5d10b2e321646cceb77 Mon Sep 17 00:00:00 2001 From: Nicholas Wiltsie Date: Mon, 6 May 2024 15:51:47 -0700 Subject: [PATCH 2/2] Add .cicd-env file --- .cicd-env | 1 + 1 file changed, 1 insertion(+) create mode 100644 .cicd-env diff --git a/.cicd-env b/.cicd-env new file mode 100644 index 00000000..2b394f57 --- /dev/null +++ b/.cicd-env @@ -0,0 +1 @@ +PYTHON_PYLINT_CONFIG_FILE=true