@@ -10,9 +10,6 @@ concurrency:
10
10
group : build-${{ github.event.pull_request.number || github.ref }}
11
11
cancel-in-progress : true
12
12
13
- env :
14
- singularity_version : 3.8.3
15
-
16
13
jobs :
17
14
18
15
tox :
41
38
42
39
- name : Set up Singularity
43
40
if : ${{ matrix.step == 'unit' || matrix.step == 'mypy' }}
44
- uses : eWaterCycle/setup-singularity@v7
45
- with :
46
- singularity-version : ${{ env.singularity_version }}
41
+ run : |
42
+ wget --no-verbose https://github.com/sylabs/singularity/releases/download/v3.10.4/singularity-ce_3.10.4-focal_amd64.deb
43
+ sudo apt-get install -y ./singularity-ce_3.10.4-focal_amd64.deb
47
44
48
45
- name : Set up Python
49
46
uses : actions/setup-python@v4
86
83
step : [lint-readme, pydocstyle]
87
84
88
85
env :
89
- py-semver : 3.11
90
- TOXENV : ${{ format('py310 -{0}', matrix.step) }}
86
+ py-semver : " 3.11"
87
+ TOXENV : ${{ format('py311 -{0}', matrix.step) }}
91
88
92
89
steps :
93
90
- uses : actions/checkout@v3
98
95
uses : actions/setup-python@v4
99
96
with :
100
97
python-version : ${{ env.py-semver }}
101
-
102
- - name : Cache for pip
103
- uses : actions/cache@v3
104
- with :
105
- path : ~/.cache/pip
106
- key : ${{ runner.os }}-pip-${{ matrix.step }}-${{ hashFiles('requirements.txt') }}
98
+ cache : pip
107
99
108
100
- name : Upgrade setuptools and install tox
109
101
run : |
@@ -119,27 +111,24 @@ jobs:
119
111
120
112
release_test :
121
113
name : cwl-utils release test
122
-
123
114
runs-on : ubuntu-22.04
124
115
125
116
steps :
126
117
- uses : actions/checkout@v3
127
118
128
119
- name : Set up Singularity
129
- uses : eWaterCycle/setup-singularity@v7
130
- with :
131
- singularity-version : ${{ env.singularity_version }}
120
+ run : |
121
+ wget --no-verbose https://github.com/sylabs/singularity/releases/download/v3.10.4/singularity-ce_3.10.4-jammy_amd64.deb
122
+ sudo apt-get install -y ./singularity-ce_3.10.4-jammy_amd64.deb
132
123
133
124
- name : Set up Python
134
125
uses : actions/setup-python@v4
135
126
with :
136
127
python-version : 3.11
137
-
138
- - name : Cache for pip
139
- uses : actions/cache@v3
140
- with :
141
- path : ~/.cache/pip
142
- key : ${{ runner.os }}-pip-release-${{ hashFiles('requirements.txt', 'test-requirements.txt') }}
128
+ cache : pip
129
+ cache-dependency-path : |
130
+ requirements.txt
131
+ test-requirements.txt
143
132
144
133
- name : Install packages
145
134
run : |
0 commit comments