Update actions/checkout action to v4 (#29)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit was merged in pull request #29.
This commit is contained in:
renovate[bot]
2023-09-04 20:47:17 +01:00
committed by GitHub
parent 5f4d044cb0
commit f2607b5b4a
3 changed files with 4 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
needs: [prepare-data]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- 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@v3
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- 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