Skip to content

Commit 95d8543

Browse files
authored
Fix values of changed files variables (#1002)
* Fix values of changed files variables A fix I had in a testing version of this workflow didn't make it to the real GitHub repo for OpenFermion. * Remove invalid env.base reference Left-over from testing. * Need to move to ubuntu 22 GitHub is about to stop supporting Ubuntu 20.04 on runners.
1 parent e5242a5 commit 95d8543

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/ci.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -84,25 +84,25 @@ jobs:
8484
outputs:
8585
gha: ${{steps.filter.outputs.gha}}
8686
gha_files: ${{steps.filter.outputs.gha_files}}
87+
8788
# The following all test both the relevant file condition & the CI config
8889
# because a change in the CI workflows can affect the CI check results.
89-
python: |-
90-
${{steps.filter.outputs.python}} || ${{steps.filter.outputs.ci}}
90+
python: ${{steps.filter.outputs.python || steps.filter.outputs.ci}}
9191
python_files: ${{steps.filter.outputs.python_files}}
92-
yaml: |-
93-
${{steps.filter.outputs.yaml}} || ${{steps.filter.outputs.ci}}
92+
93+
yaml: ${{steps.filter.outputs.yaml || steps.filter.outputs.ci}}
9494
yaml_files: ${{steps.filter.outputs.yaml_files}}
95-
cff: |-
96-
${{steps.filter.outputs.cff}} || ${{steps.filter.outputs.ci}}
95+
96+
cff: ${{steps.filter.outputs.cff || steps.filter.outputs.ci}}
9797
cff_files: ${{steps.filter.outputs.cff_files}}
98-
json: |-
99-
${{steps.filter.outputs.json}} || ${{steps.filter.outputs.ci}}
98+
99+
json: ${{steps.filter.outputs.json || steps.filter.outputs.ci}}
100100
json_files: ${{steps.filter.outputs.json_files}}
101-
docker: |-
102-
${{steps.filter.outputs.docker}} || ${{steps.filter.outputs.ci}}
101+
102+
docker: ${{steps.filter.outputs.docker || steps.filter.outputs.ci}}
103103
docker_files: ${{steps.filter.outputs.docker_files}}
104-
shell: |-
105-
${{steps.filter.outputs.shell}} || ${{steps.filter.outputs.ci}}
104+
105+
shell: ${{steps.filter.outputs.shell || steps.filter.outputs.ci}}
106106
shell_files: ${{steps.filter.outputs.shell_files}}
107107
steps:
108108
# When invoked manually, use the given SHA to figure out the change list.
@@ -223,7 +223,7 @@ jobs:
223223
run: echo '::add-matcher::.github/problem-matchers/black.json'
224224

225225
- name: Run format checks
226-
run: check/format-incremental ${{inputs.sha}}
226+
run: check/format-incremental
227227

228228
python-mypy:
229229
if: needs.changes.outputs.python == 'true'
@@ -385,7 +385,7 @@ jobs:
385385
if: needs.changes.outputs.python == 'true'
386386
name: Python compatibility checks
387387
needs: [changes, setup]
388-
runs-on: ubuntu-20.04
388+
runs-on: ubuntu-22.04
389389
timeout-minutes: 15
390390
steps:
391391
- name: Check out a copy of the git repository

0 commit comments

Comments
 (0)