Apply suggestions from code review

Co-authored-by: Dan Bond <danbond@protonmail.com>
pull/16761/head
John Murret 2023-03-27 14:14:04 -06:00
parent b4f5218a29
commit 4a3c1a2b52
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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}}