@@ -54,6 +54,9 @@ jobs:
|
||||
- name: AC1 source tree is at the pinned commit
|
||||
run: sh vezha/gates.sh provenance-src
|
||||
|
||||
- name: mutant dirty tracked file in src
|
||||
run: echo "// mutant" >> src/main.go
|
||||
|
||||
- name: AC7 source offer URLs answer anonymously
|
||||
run: sh vezha/gates.sh source-urls
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ COPY src /src
|
||||
WORKDIR /src
|
||||
RUN set -eu; \
|
||||
test "$(git rev-parse HEAD)" = "${UPSTREAM_COMMIT}" || { echo "REFUSED pins: src HEAD is not UPSTREAM_COMMIT"; exit 1; }; \
|
||||
test -z "$(git status --porcelain)" || { echo "REFUSED pins: src working tree is not clean"; git status --porcelain; exit 1; }; \
|
||||
test "$(go list -m)" = "${MODULE}" || { echo "REFUSED pins: src module is not MODULE"; exit 1; }; \
|
||||
scratch="$(mktemp -d)"; \
|
||||
(cd "${scratch}" && env -u GOFLAGS go mod download -json "${MODULE}@${MODULE_VERSION}" > "${scratch}/module.json"); \
|
||||
|
||||
Reference in New Issue
Block a user