build(deps): update module github.com/dgraph-io/ristretto to v2 (#101) #357
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/** | |
pull_request: | |
branches: | |
- master | |
env: | |
GOTOOLCHAIN: "local" | |
jobs: | |
docker: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
cache: true | |
- run: go get ./... | |
- run: go build -o dist/img-proxy | |
name: Build Binary | |
env: | |
CGO_ENABLED: '0' | |
- run: docker build -t tmp . | |
- run: docker run tmp -h |