mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-19 08:48:21 +03:00
Move Bazel configuration before formatting (#5893)
bazel configuration does two things: It modifies .bazelrc.local and it writes a temp file. I’ve run `git clean` on a PR. This caused the temp file to be removed. However `.bazelrc.local` stayed since it is in `.gitignore`. This meant that the next time the formatting check ran the `.bazelrc.local` pointed to the temp file but the temp file was no longer there. changelog_begin changelog_end
This commit is contained in:
parent
861724e4fd
commit
67e33a1659
@ -20,10 +20,6 @@ steps:
|
||||
GOOGLE_APPLICATION_CREDENTIALS_CONTENT: $(GOOGLE_APPLICATION_CREDENTIALS_CONTENT)
|
||||
NIX_SECRET_KEY_CONTENT: $(NIX_SECRET_KEY_CONTENT)
|
||||
|
||||
- bash: ./fmt.sh --test
|
||||
displayName: 'Platform-agnostic lints and checks'
|
||||
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))
|
||||
|
||||
- bash: ci/configure-bazel.sh
|
||||
displayName: 'Configure Bazel'
|
||||
env:
|
||||
@ -31,6 +27,10 @@ steps:
|
||||
# to upload to the bazel cache
|
||||
GOOGLE_APPLICATION_CREDENTIALS_CONTENT: $(GOOGLE_APPLICATION_CREDENTIALS_CONTENT)
|
||||
|
||||
- bash: ./fmt.sh --test
|
||||
displayName: 'Platform-agnostic lints and checks'
|
||||
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))
|
||||
|
||||
- bash: ./build.sh "_$(uname)"
|
||||
displayName: 'Build'
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user