Skip to content

Commit 3fdcfef

Browse files
Set Yarn checksumBehavior to reset (#3366)
* Set Yarn checksumBehavior to reset * Update .gitignore according to Yarn docs See https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored * Update yarn.lock --------- Co-authored-by: Harshavardhana <harsha@minio.io>
1 parent 7b8cfa2 commit 3fdcfef

File tree

6 files changed

+88
-78
lines changed

6 files changed

+88
-78
lines changed

.github/workflows/jobs.yaml

Lines changed: 68 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ concurrency:
1919
jobs:
2020
lint-job:
2121
name: Checking Lint
22-
runs-on: [ ubuntu-latest ]
22+
runs-on: [ubuntu-latest]
2323
strategy:
2424
matrix:
25-
go-version: [ 1.22.x ]
26-
os: [ ubuntu-latest ]
25+
go-version: [1.22.x]
26+
os: [ubuntu-latest]
2727
steps:
2828
- name: Check out code
2929
uses: actions/checkout@v3
@@ -47,7 +47,7 @@ jobs:
4747
runs-on: ubuntu-latest
4848
strategy:
4949
matrix:
50-
os: [ ubuntu-latest ]
50+
os: [ubuntu-latest]
5151
steps:
5252
- name: Check out source code
5353
uses: actions/checkout@v3
@@ -65,8 +65,8 @@ jobs:
6565
runs-on: ubuntu-latest
6666
strategy:
6767
matrix:
68-
go-version: [ 1.22.x ]
69-
os: [ ubuntu-latest ]
68+
go-version: [1.22.x]
69+
os: [ubuntu-latest]
7070
steps:
7171
- name: Check out code
7272
uses: actions/checkout@v3
@@ -110,10 +110,10 @@ jobs:
110110
111111
latest-minio:
112112
name: Build latest MinIO
113-
runs-on: [ ubuntu-latest ]
113+
runs-on: [ubuntu-latest]
114114
strategy:
115115
matrix:
116-
go-version: [ 1.22.x ]
116+
go-version: [1.22.x]
117117
steps:
118118
# To build minio image, we need to clone the repository first
119119
- name: Clone github.com/minio/minio
@@ -139,8 +139,8 @@ jobs:
139139
runs-on: ${{ matrix.os }}
140140
strategy:
141141
matrix:
142-
go-version: [ 1.22.x ]
143-
os: [ ubuntu-latest ]
142+
go-version: [1.22.x]
143+
os: [ubuntu-latest]
144144
steps:
145145
- name: Check out code
146146
uses: actions/checkout@v3
@@ -175,12 +175,12 @@ jobs:
175175
name: Test Subpath with Nginx
176176
needs:
177177
- compile-binary
178-
runs-on: [ ubuntu-latest ]
178+
runs-on: [ubuntu-latest]
179179
timeout-minutes: 10
180180
strategy:
181181
matrix:
182-
go-version: [ 1.22.x ]
183-
os: [ ubuntu-latest ]
182+
go-version: [1.22.x]
183+
os: [ubuntu-latest]
184184
steps:
185185
- name: Check out code
186186
uses: actions/checkout@v3
@@ -229,12 +229,12 @@ jobs:
229229
name: Permissions Tests Part 1
230230
needs:
231231
- compile-binary
232-
runs-on: [ ubuntu-latest ]
232+
runs-on: [ubuntu-latest]
233233
timeout-minutes: 10
234234
strategy:
235235
matrix:
236-
go-version: [ 1.22.x ]
237-
os: [ ubuntu-latest ]
236+
go-version: [1.22.x]
237+
os: [ubuntu-latest]
238238
steps:
239239
- name: Check out code
240240
uses: actions/checkout@v3
@@ -282,12 +282,12 @@ jobs:
282282
name: Permissions Tests Part 2
283283
needs:
284284
- compile-binary
285-
runs-on: [ ubuntu-latest ]
285+
runs-on: [ubuntu-latest]
286286
timeout-minutes: 10
287287
strategy:
288288
matrix:
289-
go-version: [ 1.22.x ]
290-
os: [ ubuntu-latest ]
289+
go-version: [1.22.x]
290+
os: [ubuntu-latest]
291291
steps:
292292
- name: Check out code
293293
uses: actions/checkout@v3
@@ -334,12 +334,12 @@ jobs:
334334
name: Permissions Tests Part 3
335335
needs:
336336
- compile-binary
337-
runs-on: [ ubuntu-latest ]
337+
runs-on: [ubuntu-latest]
338338
timeout-minutes: 10
339339
strategy:
340340
matrix:
341-
go-version: [ 1.22.x ]
342-
os: [ ubuntu-latest ]
341+
go-version: [1.22.x]
342+
os: [ubuntu-latest]
343343
steps:
344344
- name: Check out code
345345
uses: actions/checkout@v3
@@ -386,12 +386,12 @@ jobs:
386386
name: Permissions Tests Part 4
387387
needs:
388388
- compile-binary
389-
runs-on: [ ubuntu-latest ]
389+
runs-on: [ubuntu-latest]
390390
timeout-minutes: 15
391391
strategy:
392392
matrix:
393-
go-version: [ 1.22.x ]
394-
os: [ ubuntu-latest ]
393+
go-version: [1.22.x]
394+
os: [ubuntu-latest]
395395
steps:
396396
- name: Check out code
397397
uses: actions/checkout@v3
@@ -435,11 +435,11 @@ jobs:
435435
name: Permissions Tests Part 5
436436
needs:
437437
- compile-binary
438-
runs-on: [ ubuntu-latest ]
438+
runs-on: [ubuntu-latest]
439439
strategy:
440440
matrix:
441-
go-version: [ 1.22.x ]
442-
os: [ ubuntu-latest ]
441+
go-version: [1.22.x]
442+
os: [ubuntu-latest]
443443
steps:
444444
- name: Check out code
445445
uses: actions/checkout@v3
@@ -483,11 +483,11 @@ jobs:
483483
name: Permissions Tests Part 6
484484
needs:
485485
- compile-binary
486-
runs-on: [ ubuntu-latest ]
486+
runs-on: [ubuntu-latest]
487487
strategy:
488488
matrix:
489-
go-version: [ 1.22.x ]
490-
os: [ ubuntu-latest ]
489+
go-version: [1.22.x]
490+
os: [ubuntu-latest]
491491
steps:
492492
- name: Check out code
493493
uses: actions/checkout@v3
@@ -531,11 +531,11 @@ jobs:
531531
name: Permissions Tests Part 7
532532
needs:
533533
- compile-binary
534-
runs-on: [ ubuntu-latest ]
534+
runs-on: [ubuntu-latest]
535535
strategy:
536536
matrix:
537-
go-version: [ 1.22.x ]
538-
os: [ ubuntu-latest ]
537+
go-version: [1.22.x]
538+
os: [ubuntu-latest]
539539
steps:
540540
- name: Check out code
541541
uses: actions/checkout@v3
@@ -578,11 +578,11 @@ jobs:
578578
name: Permissions Tests Part 8
579579
needs:
580580
- compile-binary
581-
runs-on: [ ubuntu-latest ]
581+
runs-on: [ubuntu-latest]
582582
strategy:
583583
matrix:
584-
go-version: [ 1.22.x ]
585-
os: [ ubuntu-latest ]
584+
go-version: [1.22.x]
585+
os: [ubuntu-latest]
586586
steps:
587587
- name: Check out code
588588
uses: actions/checkout@v3
@@ -626,11 +626,11 @@ jobs:
626626
name: Permissions Tests Part A
627627
needs:
628628
- compile-binary
629-
runs-on: [ ubuntu-latest ]
629+
runs-on: [ubuntu-latest]
630630
strategy:
631631
matrix:
632-
go-version: [ 1.22.x ]
633-
os: [ ubuntu-latest ]
632+
go-version: [1.22.x]
633+
os: [ubuntu-latest]
634634
steps:
635635
- name: Check out code
636636
uses: actions/checkout@v3
@@ -677,11 +677,11 @@ jobs:
677677
name: Permissions Tests Part B
678678
needs:
679679
- compile-binary
680-
runs-on: [ ubuntu-latest ]
680+
runs-on: [ubuntu-latest]
681681
strategy:
682682
matrix:
683-
go-version: [ 1.22.x ]
684-
os: [ ubuntu-latest ]
683+
go-version: [1.22.x]
684+
os: [ubuntu-latest]
685685
steps:
686686
- name: Check out code
687687
uses: actions/checkout@v3
@@ -733,8 +733,8 @@ jobs:
733733
runs-on: ${{ matrix.os }}
734734
strategy:
735735
matrix:
736-
go-version: [ 1.22.x ]
737-
os: [ ubuntu-latest ]
736+
go-version: [1.22.x]
737+
os: [ubuntu-latest]
738738
steps:
739739
- name: Check out code
740740
uses: actions/checkout@v3
@@ -769,8 +769,8 @@ jobs:
769769
runs-on: ${{ matrix.os }}
770770
strategy:
771771
matrix:
772-
go-version: [ 1.22.x ]
773-
os: [ ubuntu-latest ]
772+
go-version: [1.22.x]
773+
os: [ubuntu-latest]
774774
steps:
775775
- name: Check out code
776776
uses: actions/checkout@v3
@@ -807,7 +807,7 @@ jobs:
807807

808808
strategy:
809809
matrix:
810-
go-version: [ 1.22.x ]
810+
go-version: [1.22.x]
811811

812812
steps:
813813
- name: Check out code
@@ -888,11 +888,11 @@ jobs:
888888
- ui-assets
889889
- semgrep-static-code-analysis
890890
- latest-minio
891-
runs-on: [ ubuntu-latest ]
891+
runs-on: [ubuntu-latest]
892892

893893
strategy:
894894
matrix:
895-
go-version: [ 1.22.x ]
895+
go-version: [1.22.x]
896896

897897
steps:
898898
- name: Check out code
@@ -963,7 +963,7 @@ jobs:
963963

964964
strategy:
965965
matrix:
966-
go-version: [ 1.22.x ]
966+
go-version: [1.22.x]
967967

968968
steps:
969969
- name: Check out code
@@ -1031,8 +1031,8 @@ jobs:
10311031
runs-on: ${{ matrix.os }}
10321032
strategy:
10331033
matrix:
1034-
go-version: [ 1.22.x ]
1035-
os: [ ubuntu-latest ]
1034+
go-version: [1.22.x]
1035+
os: [ubuntu-latest]
10361036
steps:
10371037
- name: Check out code
10381038
uses: actions/checkout@v3
@@ -1177,8 +1177,8 @@ jobs:
11771177
runs-on: ubuntu-latest
11781178
strategy:
11791179
matrix:
1180-
go-version: [ 1.22.x ]
1181-
os: [ ubuntu-latest ]
1180+
go-version: [1.22.x]
1181+
os: [ubuntu-latest]
11821182
steps:
11831183
- name: Check out code
11841184
uses: actions/checkout@v3
@@ -1219,8 +1219,8 @@ jobs:
12191219
runs-on: ${{ matrix.os }}
12201220
strategy:
12211221
matrix:
1222-
go-version: [ 1.22.x ]
1223-
os: [ ubuntu-latest ]
1222+
go-version: [1.22.x]
1223+
os: [ubuntu-latest]
12241224
steps:
12251225
- name: Check out code
12261226
uses: actions/checkout@v3
@@ -1260,8 +1260,8 @@ jobs:
12601260
runs-on: ${{ matrix.os }}
12611261
strategy:
12621262
matrix:
1263-
go-version: [ 1.22.x ]
1264-
os: [ ubuntu-latest ]
1263+
go-version: [1.22.x]
1264+
os: [ubuntu-latest]
12651265
steps:
12661266
- name: Check out code
12671267
uses: actions/checkout@v3
@@ -1289,8 +1289,8 @@ jobs:
12891289
runs-on: ${{ matrix.os }}
12901290
strategy:
12911291
matrix:
1292-
go-version: [ 1.22.x ]
1293-
os: [ ubuntu-latest ]
1292+
go-version: [1.22.x]
1293+
os: [ubuntu-latest]
12941294
steps:
12951295
- name: Check out code
12961296
uses: actions/checkout@v3
@@ -1317,8 +1317,8 @@ jobs:
13171317
runs-on: ${{ matrix.os }}
13181318
strategy:
13191319
matrix:
1320-
go-version: [ 1.22.x ]
1321-
os: [ ubuntu-latest ]
1320+
go-version: [1.22.x]
1321+
os: [ubuntu-latest]
13221322
steps:
13231323
- name: Check out code
13241324
uses: actions/checkout@v3
@@ -1346,8 +1346,8 @@ jobs:
13461346
runs-on: ${{ matrix.os }}
13471347
strategy:
13481348
matrix:
1349-
go-version: [ 1.22.x ]
1350-
os: [ ubuntu-latest ]
1349+
go-version: [1.22.x]
1350+
os: [ubuntu-latest]
13511351
steps:
13521352
- name: Check out code
13531353
uses: actions/checkout@v3
@@ -1375,8 +1375,8 @@ jobs:
13751375
runs-on: ${{ matrix.os }}
13761376
strategy:
13771377
matrix:
1378-
go-version: [ 1.22.x ]
1379-
os: [ ubuntu-latest ]
1378+
go-version: [1.22.x]
1379+
os: [ubuntu-latest]
13801380
steps:
13811381
- name: Check out code
13821382
uses: actions/checkout@v3
@@ -1394,7 +1394,7 @@ jobs:
13941394
GOOS: linux
13951395
run: |
13961396
make crosscompile arg1="'linux/386 netbsd/amd64'"
1397-
1397+
13981398
playwright:
13991399
needs:
14001400
- compile-binary-istanbul-coverage

web-app/.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,12 @@ node_modules/
1919
npm-debug.log*
2020
yarn-debug.log*
2121
yarn-error.log*
22+
23+
# Yarn (see https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored)
24+
.yarn/*
25+
!.yarn/cache
26+
!.yarn/patches
27+
!.yarn/plugins
28+
!.yarn/releases
29+
!.yarn/sdks
30+
!.yarn/versions

web-app/.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
nodeLinker: node-modules
2+
checksumBehavior: reset

0 commit comments

Comments
 (0)