Skip to content

build(deps): bump golang.org/x/oauth2 from 0.23.0 to 0.24.0 #248

build(deps): bump golang.org/x/oauth2 from 0.23.0 to 0.24.0

build(deps): bump golang.org/x/oauth2 from 0.23.0 to 0.24.0 #248

Workflow file for this run

name: CoreDNS
on:
push:
branches: [ 'main' ]
pull_request:
branches: [ 'main' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Read .tool-versions
uses: marocchino/tool-versions-action@v1
id: versions
- uses: actions/setup-go@v5
with:
go-version: "${{ steps.versions.outputs.golang }}"
cache: true
- name: Build CoreDNS
run: |
git clone https://github.com/coredns/coredns
pushd coredns
mkdir -p plugin/dnsimple
cp ../*.go plugin/dnsimple
cp ../go.mod plugin/dnsimple
sed -i "/^go ${{env.GO_VERSION}}/a replace github.com/dnsimple/coredns-dnsimple => ./plugin/dnsimple" go.mod
sed -i '/route53:route53/i dnsimple:github.com\/dnsimple\/coredns-dnsimple' plugin.cfg
GOFLAGS=-mod=mod go generate
go mod tidy
go build