mirror of https://github.com/hashicorp/consul
Apply suggestions from code review
Co-authored-by: Dan Bond <danbond@protonmail.com>pull/16761/head
parent
b4f5218a29
commit
4a3c1a2b52
|
@ -29,7 +29,7 @@ jobs:
|
|||
- name: Build
|
||||
run: make dev
|
||||
# save dev build to pass to downstream jobs
|
||||
- uses: actions/upload-artifact@master
|
||||
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # pin@v3.1.2
|
||||
with:
|
||||
name: ${{inputs.uploaded-binary-name}}
|
||||
path: ./bin/consul
|
||||
|
|
|
@ -124,11 +124,11 @@ jobs:
|
|||
-tags="${{env.GOTAGS}}" -p 2 \
|
||||
${GO_TEST_FLAGS-} \
|
||||
-cover -coverprofile=coverage.txt
|
||||
- uses: actions/upload-artifact@master
|
||||
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # pin@v3.1.2
|
||||
with:
|
||||
name: test-results
|
||||
path: ${{env.TEST_RESULTS}}
|
||||
- uses: actions/upload-artifact@master
|
||||
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # pin@v3.1.2
|
||||
with:
|
||||
name: jsonfile
|
||||
path: /tmp/jsonfile
|
||||
|
|
|
@ -63,7 +63,7 @@ jobs:
|
|||
working-directory: ${{inputs.directory}}
|
||||
run: go mod download
|
||||
- name: Download consul
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # pin@v3.0.2
|
||||
with:
|
||||
name: ${{inputs.uploaded-binary-name}}
|
||||
path: /usr/local/bin
|
||||
|
@ -95,7 +95,7 @@ jobs:
|
|||
-tags="${{env.GOTAGS}}" \
|
||||
${GO_TEST_FLAGS-} \
|
||||
-cover -coverprofile=coverage.txt
|
||||
- uses: actions/upload-artifact@master
|
||||
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # pin@v3.1.2
|
||||
with:
|
||||
name: test-results
|
||||
path: ${{env.TEST_RESULTS}}
|
||||
|
|
Loading…
Reference in New Issue