Skip to content

Commit 595c785

Browse files
committed
ci: cnforce lockfile for dart pub get in the sass compiler updates workflow
Updated the workflow to mandate --enforce-lockfile. This ensures we pull the specific package versions listed in the lockfile rather than allowing the resolver to fetch newer, unvetted updates.
1 parent b606f05 commit 595c785

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/rules_sass-compiler-updates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
steps:
2828
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2929
- uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c # v1
30-
- run: dart pub get
30+
- run: dart pub get --enforce-lockfile
3131
- run: mkdir -p src/compiler/built/
3232
- run: dart compile exe src/compiler/bin/x_sass.dart -o src/compiler/built/${{ matrix.bin_name }}
3333
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0

0 commit comments

Comments
 (0)