licensed 2.8.0 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +11 -12
- data/.github/workflows/test.yml +71 -52
- data/.gitignore +2 -0
- data/CHANGELOG.md +48 -1
- data/README.md +11 -7
- data/docs/commands.md +8 -0
- data/docs/configuration.md +36 -0
- data/docs/sources/nuget.md +14 -0
- data/lib/licensed/cli.rb +7 -0
- data/lib/licensed/commands.rb +1 -0
- data/lib/licensed/commands/cache.rb +56 -19
- data/lib/licensed/commands/environment.rb +2 -2
- data/lib/licensed/commands/notices.rb +35 -0
- data/lib/licensed/commands/status.rb +5 -1
- data/lib/licensed/configuration.rb +72 -37
- data/lib/licensed/dependency.rb +1 -1
- data/lib/licensed/git.rb +3 -1
- data/lib/licensed/reporters.rb +1 -0
- data/lib/licensed/reporters/cache_reporter.rb +10 -10
- data/lib/licensed/reporters/list_reporter.rb +5 -5
- data/lib/licensed/reporters/notices_reporter.rb +68 -0
- data/lib/licensed/reporters/reporter.rb +3 -0
- data/lib/licensed/reporters/status_reporter.rb +7 -7
- data/lib/licensed/sources.rb +1 -0
- data/lib/licensed/sources/cabal.rb +2 -2
- data/lib/licensed/sources/go.rb +27 -20
- data/lib/licensed/sources/mix.rb +5 -1
- data/lib/licensed/sources/npm.rb +1 -0
- data/lib/licensed/sources/nuget.rb +212 -0
- data/lib/licensed/version.rb +1 -1
- data/licensed.gemspec +4 -3
- data/script/bootstrap +2 -1
- data/script/source-setup/nuget +17 -0
- metadata +37 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cb9d80097e4329d3aa276faf53b72cac7fed2c2f4c09edc500bc627fb8d942b
|
4
|
+
data.tar.gz: f2ba113cfac5f807980f44a7d60a40dd6c946c85a351bf8161854b72d715d625
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcdc95e2d512dbf8f9e84f76409f4d94b93ae3bdf95d17fa4b668f04e996cdcda340c5e7f09dd499c509b122e92cfc90d58838f33df24d690fd4ae1b759550b0
|
7
|
+
data.tar.gz: bba8ba26db299965d6fc7e2d783060d827e5f45cd7f1a287414f63c39298b39dfb6739beebe46d152e6619830705a8abf822a33ce01d94335fc195596a65e6cb
|
@@ -14,7 +14,7 @@ jobs:
|
|
14
14
|
needs: tag_filter
|
15
15
|
|
16
16
|
steps:
|
17
|
-
- uses: actions/checkout@
|
17
|
+
- uses: actions/checkout@v2
|
18
18
|
- name: Set up Ruby 2.6
|
19
19
|
uses: actions/setup-ruby@v1
|
20
20
|
with:
|
@@ -25,7 +25,7 @@ jobs:
|
|
25
25
|
env:
|
26
26
|
VERSION: ${{github.event.ref}}
|
27
27
|
|
28
|
-
- uses: actions/upload-artifact@
|
28
|
+
- uses: actions/upload-artifact@v2
|
29
29
|
with:
|
30
30
|
name: ${{github.event.ref}}-linux
|
31
31
|
path: pkg/${{github.event.ref}}/licensed-${{github.event.ref}}-linux-x64.tar.gz
|
@@ -35,7 +35,7 @@ jobs:
|
|
35
35
|
needs: tag_filter
|
36
36
|
|
37
37
|
steps:
|
38
|
-
- uses: actions/checkout@
|
38
|
+
- uses: actions/checkout@v2
|
39
39
|
- name: Set up Ruby 2.6
|
40
40
|
uses: actions/setup-ruby@v1
|
41
41
|
with:
|
@@ -46,7 +46,7 @@ jobs:
|
|
46
46
|
env:
|
47
47
|
VERSION: ${{github.event.ref}}
|
48
48
|
|
49
|
-
- uses: actions/upload-artifact@
|
49
|
+
- uses: actions/upload-artifact@v2
|
50
50
|
with:
|
51
51
|
name: ${{github.event.ref}}-darwin
|
52
52
|
path: pkg/${{github.event.ref}}/licensed-${{github.event.ref}}-darwin-x64.tar.gz
|
@@ -56,7 +56,7 @@ jobs:
|
|
56
56
|
needs: tag_filter
|
57
57
|
|
58
58
|
steps:
|
59
|
-
- uses: actions/checkout@
|
59
|
+
- uses: actions/checkout@v2
|
60
60
|
- name: Set up Ruby 2.6
|
61
61
|
uses: actions/setup-ruby@v1
|
62
62
|
with:
|
@@ -65,7 +65,7 @@ jobs:
|
|
65
65
|
- name: Build gem
|
66
66
|
run: gem build *.gemspec
|
67
67
|
|
68
|
-
- uses: actions/upload-artifact@
|
68
|
+
- uses: actions/upload-artifact@v2
|
69
69
|
with:
|
70
70
|
name: ${{github.event.ref}}-gem
|
71
71
|
path: licensed-${{github.event.ref}}.gem
|
@@ -74,7 +74,6 @@ jobs:
|
|
74
74
|
runs-on: ubuntu-latest
|
75
75
|
needs: [package_linux, package_mac, build_gem]
|
76
76
|
steps:
|
77
|
-
- uses: actions/checkout@master
|
78
77
|
- uses: Roang-zero1/github-create-release-action@v1.0.2
|
79
78
|
env:
|
80
79
|
GITHUB_TOKEN: ${{ secrets.API_AUTH_TOKEN }}
|
@@ -91,24 +90,24 @@ jobs:
|
|
91
90
|
ruby-version: 2.6.x
|
92
91
|
|
93
92
|
- name: Download linux package
|
94
|
-
uses: actions/download-artifact@
|
93
|
+
uses: actions/download-artifact@v2
|
95
94
|
with:
|
96
95
|
name: ${{github.event.ref}}-linux
|
97
96
|
|
98
97
|
- name: Download macOS package
|
99
|
-
uses: actions/download-artifact@
|
98
|
+
uses: actions/download-artifact@v2
|
100
99
|
with:
|
101
100
|
name: ${{github.event.ref}}-darwin
|
102
101
|
|
103
102
|
- name: Download gem
|
104
|
-
uses: actions/download-artifact@
|
103
|
+
uses: actions/download-artifact@v2
|
105
104
|
with:
|
106
105
|
name: ${{github.event.ref}}-gem
|
107
106
|
|
108
107
|
- name: Publish packages to GitHub Release
|
109
108
|
uses: Roang-zero1/github-upload-release-artifacts-action@v2.0.0
|
110
109
|
with:
|
111
|
-
args:
|
110
|
+
args: licensed-${{github.event.ref}}-linux-x64.tar.gz licensed-${{github.event.ref}}-darwin-x64.tar.gz
|
112
111
|
env:
|
113
112
|
GITHUB_TOKEN: ${{secrets.API_AUTH_TOKEN}}
|
114
113
|
|
@@ -121,4 +120,4 @@ jobs:
|
|
121
120
|
gem push $GEM
|
122
121
|
env:
|
123
122
|
GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
|
124
|
-
GEM:
|
123
|
+
GEM: licensed-${{github.event.ref}}.gem
|
data/.github/workflows/test.yml
CHANGED
@@ -1,17 +1,12 @@
|
|
1
1
|
name: Test
|
2
2
|
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
branches:
|
6
|
-
- "*"
|
7
|
-
tags:
|
8
|
-
- "!*"
|
3
|
+
on: pull_request
|
9
4
|
|
10
5
|
jobs:
|
11
6
|
bower:
|
12
7
|
runs-on: ubuntu-latest
|
13
8
|
steps:
|
14
|
-
- uses: actions/checkout@
|
9
|
+
- uses: actions/checkout@v2
|
15
10
|
- name: Setup node
|
16
11
|
uses: actions/setup-node@v1
|
17
12
|
with:
|
@@ -23,10 +18,10 @@ jobs:
|
|
23
18
|
with:
|
24
19
|
ruby-version: 2.6.x
|
25
20
|
- run: bundle lock
|
26
|
-
- uses: actions/cache@
|
21
|
+
- uses: actions/cache@v1
|
27
22
|
with:
|
28
23
|
path: vendor/gems
|
29
|
-
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles(
|
24
|
+
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles('**/Gemfile.lock') }}
|
30
25
|
- name: Bootstrap
|
31
26
|
run: script/bootstrap
|
32
27
|
- name: Set up fixtures
|
@@ -40,7 +35,7 @@ jobs:
|
|
40
35
|
matrix:
|
41
36
|
bundler: [ '~> 1.15.0', '~> 1.16.0', '~> 1.17.0', '~> 2.0.0' ]
|
42
37
|
steps:
|
43
|
-
- uses: actions/checkout@
|
38
|
+
- uses: actions/checkout@v2
|
44
39
|
- name: Set up Ruby
|
45
40
|
uses: actions/setup-ruby@v1
|
46
41
|
with:
|
@@ -50,10 +45,10 @@ jobs:
|
|
50
45
|
yes | gem uninstall bundler --all
|
51
46
|
gem install bundler -v "${{ matrix.bundler }}"
|
52
47
|
- run: bundle lock
|
53
|
-
- uses: actions/cache@
|
48
|
+
- uses: actions/cache@v1
|
54
49
|
with:
|
55
50
|
path: vendor/gems
|
56
|
-
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles(
|
51
|
+
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles('**/Gemfile.lock') }}
|
57
52
|
- name: Bootstrap
|
58
53
|
run: script/bootstrap
|
59
54
|
- name: Set up fixtures
|
@@ -66,9 +61,9 @@ jobs:
|
|
66
61
|
strategy:
|
67
62
|
matrix:
|
68
63
|
ghc: [ '8.2.2', '8.6.5' ]
|
69
|
-
cabal: [ '2.
|
64
|
+
cabal: [ '2.2', '2.4', '3.0', 'latest' ]
|
70
65
|
steps:
|
71
|
-
- uses: actions/checkout@
|
66
|
+
- uses: actions/checkout@v2
|
72
67
|
- name: Set up Ruby
|
73
68
|
uses: actions/setup-ruby@v1
|
74
69
|
with:
|
@@ -79,10 +74,10 @@ jobs:
|
|
79
74
|
ghc-version: ${{ matrix.ghc }}
|
80
75
|
cabal-version: ${{ matrix.cabal }}
|
81
76
|
- run: bundle lock
|
82
|
-
- uses: actions/cache@
|
77
|
+
- uses: actions/cache@v1
|
83
78
|
with:
|
84
79
|
path: vendor/gems
|
85
|
-
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles(
|
80
|
+
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles('**/Gemfile.lock') }}
|
86
81
|
- name: Bootstrap
|
87
82
|
run: script/bootstrap
|
88
83
|
- name: Set up fixtures
|
@@ -96,9 +91,9 @@ jobs:
|
|
96
91
|
matrix:
|
97
92
|
php: [ '5.6', '7.1', '7.2', '7.3' ]
|
98
93
|
steps:
|
99
|
-
- uses: actions/checkout@
|
94
|
+
- uses: actions/checkout@v2
|
100
95
|
- name: Setup php
|
101
|
-
uses: nanasess/setup-php@
|
96
|
+
uses: nanasess/setup-php@v3.0.4
|
102
97
|
with:
|
103
98
|
php-version: ${{ matrix.php }}
|
104
99
|
- name: Set up Ruby
|
@@ -106,10 +101,10 @@ jobs:
|
|
106
101
|
with:
|
107
102
|
ruby-version: 2.6.x
|
108
103
|
- run: bundle lock
|
109
|
-
- uses: actions/cache@
|
104
|
+
- uses: actions/cache@v1
|
110
105
|
with:
|
111
106
|
path: vendor/gems
|
112
|
-
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles(
|
107
|
+
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles('**/Gemfile.lock') }}
|
113
108
|
- name: Bootstrap
|
114
109
|
run: script/bootstrap
|
115
110
|
- name: Set up fixtures
|
@@ -123,7 +118,7 @@ jobs:
|
|
123
118
|
matrix:
|
124
119
|
ruby: [ 2.4.x, 2.5.x, 2.6.x ]
|
125
120
|
steps:
|
126
|
-
- uses: actions/checkout@
|
121
|
+
- uses: actions/checkout@v2
|
127
122
|
- name: Set up Ruby
|
128
123
|
uses: actions/setup-ruby@v1
|
129
124
|
with:
|
@@ -131,10 +126,10 @@ jobs:
|
|
131
126
|
- name: Set up Bundler
|
132
127
|
run: gem install bundler
|
133
128
|
- run: bundle lock
|
134
|
-
- uses: actions/cache@
|
129
|
+
- uses: actions/cache@v1
|
135
130
|
with:
|
136
131
|
path: vendor/gems
|
137
|
-
key: ${{ runner.os }}-gem-${{ matrix.ruby }}-${{ hashFiles(
|
132
|
+
key: ${{ runner.os }}-gem-${{ matrix.ruby }}-${{ hashFiles('**/Gemfile.lock') }}
|
138
133
|
- name: Bootstrap
|
139
134
|
run: script/bootstrap
|
140
135
|
- name: Build and lint
|
@@ -145,7 +140,7 @@ jobs:
|
|
145
140
|
dep:
|
146
141
|
runs-on: ubuntu-latest
|
147
142
|
steps:
|
148
|
-
- uses: actions/checkout@
|
143
|
+
- uses: actions/checkout@v2
|
149
144
|
- name: Setup go
|
150
145
|
uses: actions/setup-go@v1
|
151
146
|
with:
|
@@ -155,10 +150,10 @@ jobs:
|
|
155
150
|
with:
|
156
151
|
ruby-version: 2.6.x
|
157
152
|
- run: bundle lock
|
158
|
-
- uses: actions/cache@
|
153
|
+
- uses: actions/cache@v1
|
159
154
|
with:
|
160
155
|
path: vendor/gems
|
161
|
-
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles(
|
156
|
+
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles('**/Gemfile.lock') }}
|
162
157
|
- name: Bootstrap
|
163
158
|
run: script/bootstrap
|
164
159
|
- name: Set up fixtures
|
@@ -170,9 +165,9 @@ jobs:
|
|
170
165
|
runs-on: ubuntu-latest
|
171
166
|
strategy:
|
172
167
|
matrix:
|
173
|
-
go: [ '1.7.x', '1.10.x', '1.11.1' ]
|
168
|
+
go: [ '1.7.x', '1.10.x', '1.11.x', '1.12.x', '1.13.x', '1.14.x' ]
|
174
169
|
steps:
|
175
|
-
- uses: actions/checkout@
|
170
|
+
- uses: actions/checkout@v2
|
176
171
|
- name: Setup go
|
177
172
|
uses: actions/setup-go@v1
|
178
173
|
with:
|
@@ -182,10 +177,10 @@ jobs:
|
|
182
177
|
with:
|
183
178
|
ruby-version: 2.6.x
|
184
179
|
- run: bundle lock
|
185
|
-
- uses: actions/cache@
|
180
|
+
- uses: actions/cache@v1
|
186
181
|
with:
|
187
182
|
path: vendor/gems
|
188
|
-
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles(
|
183
|
+
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles('**/Gemfile.lock') }}
|
189
184
|
- name: Bootstrap
|
190
185
|
run: script/bootstrap
|
191
186
|
- name: Set up fixtures
|
@@ -196,16 +191,16 @@ jobs:
|
|
196
191
|
gradle:
|
197
192
|
runs-on: ubuntu-latest
|
198
193
|
steps:
|
199
|
-
- uses: actions/checkout@
|
194
|
+
- uses: actions/checkout@v2
|
200
195
|
- name: Set up Ruby
|
201
196
|
uses: actions/setup-ruby@v1
|
202
197
|
with:
|
203
198
|
ruby-version: 2.6.x
|
204
199
|
- run: bundle lock
|
205
|
-
- uses: actions/cache@
|
200
|
+
- uses: actions/cache@v1
|
206
201
|
with:
|
207
202
|
path: vendor/gems
|
208
|
-
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles(
|
203
|
+
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles('**/Gemfile.lock') }}
|
209
204
|
- name: Bootstrap
|
210
205
|
run: script/bootstrap
|
211
206
|
- name: Gradle version
|
@@ -216,16 +211,16 @@ jobs:
|
|
216
211
|
manifest:
|
217
212
|
runs-on: ubuntu-latest
|
218
213
|
steps:
|
219
|
-
- uses: actions/checkout@
|
214
|
+
- uses: actions/checkout@v2
|
220
215
|
- name: Set up Ruby
|
221
216
|
uses: actions/setup-ruby@v1
|
222
217
|
with:
|
223
218
|
ruby-version: 2.6.x
|
224
219
|
- run: bundle lock
|
225
|
-
- uses: actions/cache@
|
220
|
+
- uses: actions/cache@v1
|
226
221
|
with:
|
227
222
|
path: vendor/gems
|
228
|
-
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles(
|
223
|
+
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles('**/Gemfile.lock') }}
|
229
224
|
- name: Bootstrap
|
230
225
|
run: script/bootstrap
|
231
226
|
- name: Run tests
|
@@ -238,7 +233,7 @@ jobs:
|
|
238
233
|
otp: [21.x, 22.x]
|
239
234
|
elixir: [1.8.x, 1.9.x]
|
240
235
|
steps:
|
241
|
-
- uses: actions/checkout@
|
236
|
+
- uses: actions/checkout@v2
|
242
237
|
- uses: actions/setup-elixir@v1.0.0
|
243
238
|
with:
|
244
239
|
otp-version: ${{matrix.otp}}
|
@@ -248,10 +243,10 @@ jobs:
|
|
248
243
|
with:
|
249
244
|
ruby-version: 2.6.x
|
250
245
|
- run: bundle lock
|
251
|
-
- uses: actions/cache@
|
246
|
+
- uses: actions/cache@v1
|
252
247
|
with:
|
253
248
|
path: vendor/gems
|
254
|
-
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles(
|
249
|
+
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles('**/Gemfile.lock') }}
|
255
250
|
- name: Bootstrap
|
256
251
|
run: script/bootstrap
|
257
252
|
- name: Set up fixtures
|
@@ -265,7 +260,7 @@ jobs:
|
|
265
260
|
matrix:
|
266
261
|
node_version: [ 8, 10, 12 ]
|
267
262
|
steps:
|
268
|
-
- uses: actions/checkout@
|
263
|
+
- uses: actions/checkout@v2
|
269
264
|
- name: Setup node
|
270
265
|
uses: actions/setup-node@v1
|
271
266
|
with:
|
@@ -275,10 +270,10 @@ jobs:
|
|
275
270
|
with:
|
276
271
|
ruby-version: 2.6.x
|
277
272
|
- run: bundle lock
|
278
|
-
- uses: actions/cache@
|
273
|
+
- uses: actions/cache@v1
|
279
274
|
with:
|
280
275
|
path: vendor/gems
|
281
|
-
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles(
|
276
|
+
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles('**/Gemfile.lock') }}
|
282
277
|
- name: Bootstrap
|
283
278
|
run: script/bootstrap
|
284
279
|
- name: Set up fixtures
|
@@ -286,13 +281,37 @@ jobs:
|
|
286
281
|
- name: Run tests
|
287
282
|
run: script/test npm
|
288
283
|
|
284
|
+
nuget:
|
285
|
+
runs-on: ubuntu-latest
|
286
|
+
steps:
|
287
|
+
- uses: actions/checkout@v2
|
288
|
+
- name: Setup dotnet
|
289
|
+
uses: actions/setup-dotnet@v1
|
290
|
+
with:
|
291
|
+
dotnet-version: 3.1.202
|
292
|
+
- name: Set up Ruby
|
293
|
+
uses: actions/setup-ruby@v1
|
294
|
+
with:
|
295
|
+
ruby-version: 2.6.x
|
296
|
+
- run: bundle lock
|
297
|
+
- uses: actions/cache@v1
|
298
|
+
with:
|
299
|
+
path: vendor/gems
|
300
|
+
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles('**/Gemfile.lock') }}
|
301
|
+
- name: Bootstrap
|
302
|
+
run: script/bootstrap
|
303
|
+
- name: Set up fixtures
|
304
|
+
run: script/source-setup/nuget
|
305
|
+
- name: Run tests
|
306
|
+
run: script/test nuget
|
307
|
+
|
289
308
|
pip:
|
290
309
|
runs-on: ubuntu-latest
|
291
310
|
strategy:
|
292
311
|
matrix:
|
293
312
|
python: [ '2.x', '3.x' ]
|
294
313
|
steps:
|
295
|
-
- uses: actions/checkout@
|
314
|
+
- uses: actions/checkout@v2
|
296
315
|
- name: Setup python
|
297
316
|
uses: actions/setup-python@v1
|
298
317
|
with:
|
@@ -303,10 +322,10 @@ jobs:
|
|
303
322
|
with:
|
304
323
|
ruby-version: 2.6.x
|
305
324
|
- run: bundle lock
|
306
|
-
- uses: actions/cache@
|
325
|
+
- uses: actions/cache@v1
|
307
326
|
with:
|
308
327
|
path: vendor/gems
|
309
|
-
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles(
|
328
|
+
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles('**/Gemfile.lock') }}
|
310
329
|
- name: Bootstrap
|
311
330
|
run: script/bootstrap
|
312
331
|
- name: Install virtualenv
|
@@ -319,7 +338,7 @@ jobs:
|
|
319
338
|
pipenv:
|
320
339
|
runs-on: ubuntu-latest
|
321
340
|
steps:
|
322
|
-
- uses: actions/checkout@
|
341
|
+
- uses: actions/checkout@v2
|
323
342
|
- name: Setup python
|
324
343
|
uses: actions/setup-python@v1
|
325
344
|
with:
|
@@ -330,10 +349,10 @@ jobs:
|
|
330
349
|
with:
|
331
350
|
ruby-version: 2.6.x
|
332
351
|
- run: bundle lock
|
333
|
-
- uses: actions/cache@
|
352
|
+
- uses: actions/cache@v1
|
334
353
|
with:
|
335
354
|
path: vendor/gems
|
336
|
-
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles(
|
355
|
+
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles('**/Gemfile.lock') }}
|
337
356
|
- name: Bootstrap
|
338
357
|
run: script/bootstrap
|
339
358
|
- name: Install pipenv
|
@@ -342,7 +361,7 @@ jobs:
|
|
342
361
|
run: script/source-setup/pipenv
|
343
362
|
- name: Run tests
|
344
363
|
run: script/test pipenv
|
345
|
-
|
364
|
+
|
346
365
|
yarn:
|
347
366
|
runs-on: ubuntu-latest
|
348
367
|
strategy:
|
@@ -350,7 +369,7 @@ jobs:
|
|
350
369
|
# not using 1.0.0 because it doesn't support `yarn list --production`
|
351
370
|
yarn_version: [ 1.4.0, latest ]
|
352
371
|
steps:
|
353
|
-
- uses: actions/checkout@
|
372
|
+
- uses: actions/checkout@v2
|
354
373
|
- name: Setup node
|
355
374
|
uses: actions/setup-node@v1
|
356
375
|
with:
|
@@ -364,10 +383,10 @@ jobs:
|
|
364
383
|
with:
|
365
384
|
ruby-version: 2.6.x
|
366
385
|
- run: bundle lock
|
367
|
-
- uses: actions/cache@
|
386
|
+
- uses: actions/cache@v1
|
368
387
|
with:
|
369
388
|
path: vendor/gems
|
370
|
-
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles(
|
389
|
+
key: ${{ runner.os }}-gem-2.6.x-${{ hashFiles('**/Gemfile.lock') }}
|
371
390
|
- name: Bootstrap
|
372
391
|
run: script/bootstrap
|
373
392
|
- name: Set up fixtures
|