From 992db33aa749e234e2cd4ccee24fe9cdaf4e3f9c Mon Sep 17 00:00:00 2001 From: Nicholas Wiltsie Date: Thu, 29 Feb 2024 17:08:05 -0800 Subject: [PATCH] Check out the code first, fix two lints --- .github/workflows/Docker-build-release.yaml | 3 ++- run-nextflow-tests/Dockerfile | 2 +- run-nextflow-tests/utils.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Docker-build-release.yaml b/.github/workflows/Docker-build-release.yaml index fc83dda..ee9c084 100644 --- a/.github/workflows/Docker-build-release.yaml +++ b/.github/workflows/Docker-build-release.yaml @@ -19,13 +19,14 @@ jobs: contents: read packages: write steps: + - uses: actions/checkout@v4 + - id: getversion uses: jbutcher5/read-yaml@1.6 with: file: run-nextflow-tests/docker-metadata.yaml key-path: '["nextflow_version"]' - - id: build-push uses: uclahs-cds/tool-Docker-action/build-release@nwiltsie-enable-subfolders with: diff --git a/run-nextflow-tests/Dockerfile b/run-nextflow-tests/Dockerfile index eada14f..77fa923 100644 --- a/run-nextflow-tests/Dockerfile +++ b/run-nextflow-tests/Dockerfile @@ -35,6 +35,6 @@ COPY betterconfig.groovy /usr/local/bltests/ COPY entry.py configtest.py utils.py /usr/local/bltests/ WORKDIR /mnt/pipeline -LABEL org.opencontainers.image.source https://github.com/uclahs-cds/tool-Nextflow-action +LABEL org.opencontainers.image.source=https://github.com/uclahs-cds/tool-Nextflow-action ENTRYPOINT ["/usr/local/bltests/entry.py"] diff --git a/run-nextflow-tests/utils.py b/run-nextflow-tests/utils.py index 267287b..758bdf1 100644 --- a/run-nextflow-tests/utils.py +++ b/run-nextflow-tests/utils.py @@ -68,7 +68,7 @@ def diff_json(alpha, beta): def parse_value(value_str: str): "Parse a value." - # pylint: disable=too-many-branches + # pylint: disable=too-many-branches,too-many-return-statements try: if CLOSURE_RE.match(value_str): return "closure()"