Skip to content

Commit 1969a65

Browse files
committed
ga: cleanups from actionlint
1 parent a73a2b4 commit 1969a65

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.github/workflows/ci-tests.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
4747
- name: Give the test runner user a name to make provenance happy.
4848
if: ${{ matrix.step == 'unit' || matrix.step == 'mypy' }}
49-
run: sudo usermod -c 'CI Runner' $(whoami)
49+
run: sudo usermod -c 'CI Runner' "$(whoami)"
5050

5151
- name: Set up Python
5252
uses: actions/setup-python@v4
@@ -130,7 +130,7 @@ jobs:
130130
sudo apt-get install -y ./singularity-ce_3.10.4-focal_amd64.deb
131131
132132
- name: Give the test runner user a name to make provenance happy.
133-
run: sudo usermod -c 'CI Runner' $(whoami)
133+
run: sudo usermod -c 'CI Runner' "$(whoami)"
134134

135135
- name: Set up Python
136136
uses: actions/setup-python@v4
@@ -192,7 +192,7 @@ jobs:
192192
python-version: 3.11
193193
cache: pip
194194

195-
- name: "Test CWL ${{ matrix.version }} conformance"
195+
- name: "Test CWL ${{ matrix.cwl-version }} conformance"
196196
env:
197197
VERSION: ${{ matrix.cwl-version }}
198198
CONTAINER: ${{ matrix.container }}
@@ -226,7 +226,7 @@ jobs:
226226
test-requirements.txt
227227
228228
- name: Give the test runner user a name to make provenance happy.
229-
run: sudo usermod -c 'CI Runner' $(whoami)
229+
run: sudo usermod -c 'CI Runner' "$(whoami)"
230230

231231
- name: Install packages
232232
run: |
@@ -249,7 +249,7 @@ jobs:
249249
name: Test on macos-latest
250250
runs-on: macos-latest
251251
env:
252-
TOXENV: py310-unit
252+
TOXENV: py311-unit
253253
steps:
254254
- uses: actions/checkout@v3
255255
with:
@@ -280,7 +280,6 @@ jobs:
280280
- name: Test with tox
281281
run: tox
282282
- name: Upload coverage to Codecov
283-
if: ${{ matrix.step == 'unit' }}
284283
uses: codecov/codecov-action@v3
285284
with:
286285
fail_ci_if_error: true

.github/workflows/quay-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Get image tags
1313
id: image_tags
1414
run: |
15-
echo -n ::set-output name=IMAGE_TAGS::${GITHUB_REF#refs/*/}
15+
echo -n ::set-output "name=IMAGE_TAGS::${GITHUB_REF#refs/*/}"
1616
- name: Set up QEMU
1717
uses: docker/setup-qemu-action@v2
1818
- name: Set up Docker Buildx

conformance-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ venv cwl-conformance-venv
7474
pip install -U setuptools wheel pip
7575
pip uninstall -y cwltool
7676
pip install "${SCRIPT_DIRECTORY}" -r"${SCRIPT_DIRECTORY}/requirements.txt"
77-
pip install cwltest>=2.3 pytest-cov pytest-xdist
77+
pip install 'cwltest>=2.3' pytest-cov pytest-xdist
7878

7979
# Set conformance test filename
8080
if [[ "${VERSION}" = "v1.0" ]] ; then

0 commit comments

Comments
 (0)