Update build.yml

This commit is contained in:
WithoutPants
2021-09-23 12:41:39 +10:00
committed by GitHub
parent 8d9eb7f1e4
commit cceaff780b

View File

@@ -69,13 +69,12 @@ jobs:
run: docker exec -t build /bin/bash -c "make ui-validate" run: docker exec -t build /bin/bash -c "make ui-validate"
# TODO: Replace with `make validate` once `revive` is bundled in COMPILER_IMAGE # TODO: Replace with `make validate` once `revive` is bundled in COMPILER_IMAGE
# create temporary UI file so that the embed doesn't fail # create UI file so that the embed doesn't fail
- name: Validate - name: Validate
run: | run: |
mkdir ui/v2.5/build mkdir -p ui/v2.5/build
touch ui/v2.5/build/dummy touch ui/v2.5/build/index.html
docker exec -t build /bin/bash -c "make fmt-check vet it" docker exec -t build /bin/bash -c "make fmt-check vet it"
rm -rf ui/v2.5/build
- name: Build UI - name: Build UI
# skip UI build for pull requests if UI is unchanged (UI was cached) # skip UI build for pull requests if UI is unchanged (UI was cached)