Skip to content

Upgrade: bump golangci/golangci-lint-action from 5 to 6 #217

Upgrade: bump golangci/golangci-lint-action from 5 to 6

Upgrade: bump golangci/golangci-lint-action from 5 to 6 #217

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@v5
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@v5
with:
version: latest
args: release --snapshot --clean