Update actions/checkout action to v3 (#8)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
This commit was merged in pull request #8.
This commit is contained in:
renovate[bot]
2022-04-13 16:27:48 +01:00
committed by GitHub
parent dcfd3098a5
commit 8133bc1058

View File

@@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
needs: [prepare-data]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Login to GitHub Package Registry
run: echo ${{ secrets.PAT }} | docker login ghcr.io -u luketainton --password-stdin
- name: Build image for GitHub Package Registry
@@ -41,7 +41,7 @@ jobs:
runs-on: ubuntu-latest
needs: [prepare-data]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Build artifacts
run: |
docker run --rm -w /go/src/app -v ${PWD}:/go/src/app -e CGO_ENABLED=0 -e GOARCH=amd64 -e GOOS=darwin golang:alpine go build -o /go/src/app/${{ needs.prepare-data.outputs.repo }}-${{ needs.prepare-data.outputs.tag }}-darwin-amd64