Skip to content

Upgrade: bump github.com/prometheus/client_golang from 1.19.1 to 1.20.4 #234

Upgrade: bump github.com/prometheus/client_golang from 1.19.1 to 1.20.4

Upgrade: bump github.com/prometheus/client_golang from 1.19.1 to 1.20.4 #234

Workflow file for this run

name: pr
on:
pull_request:
jobs:
build_unbound:
permissions:
contents: read
packages: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v6
with:
context: .docker/unbound/rootfs
push: true
tags: ghcr.io/luzilla/unbound:dev
test:
strategy:
matrix:
go-version: [1.20.x]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: false
- run: go test ./...
release_test:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: false
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- run: docker buildx ls
- uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --snapshot --clean