build(deps): update module golang.org/x/crypto to v0.13.0 #1849
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches-ignore: | |
- renovate/** | |
paths: | |
- ".github/workflows/build.yaml" | |
- "go.mod" | |
- "go.sum" | |
- "Taskfile.yaml" | |
- "**.go" | |
- "**.go.json" | |
- "etc/Dockerfile" | |
pull_request: | |
branches: | |
- master | |
paths: | |
- ".github/workflows/build.yaml" | |
- "go.mod" | |
- "go.sum" | |
- "Taskfile.yaml" | |
- "**.go" | |
- "**.go.json" | |
- "etc/Dockerfile" | |
jobs: | |
docker: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: "go.mod" | |
cache: false | |
- name: Go Build Cache (build) | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cache/go-build | |
~/go/pkg | |
key: go-cache-119-${{ hashFiles('**/go.sum') }}-build | |
restore-keys: | | |
go-cache-119-${{ hashFiles('**/go.sum') }}- | |
go-cache-119- | |
- name: Install Task | |
uses: arduino/setup-task@v1 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
- run: go get ./... | |
- run: task build | |
name: Build Binary | |
- run: docker build -t tmp -f etc/Dockerfile . | |
- run: docker run tmp -h |