Skip to content

Commit

Permalink
gh: add action to assert dns config change
Browse files Browse the repository at this point in the history
  • Loading branch information
Choraden committed Aug 7, 2023
1 parent 023f0ca commit 5720426
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/dns.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright 2021 The forwarder Authors. All rights reserved.
# Use of this source code is governed by a MIT
# license that can be found in the LICENSE file.

---
# Forwarder hacks the net package to support overriding internal DNS config.
# This action checks the net package dns code for changes.
name: dns

on:
pull_request:
branches: [main]

jobs:
assert:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set version env variables
run: |
cat .version >> $GITHUB_ENV
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: "${{env.GO_VERSION}}"

- name: Check Hash
run: |
go env
echo ${GOROOT}
echo ${{env.GOROOT}}
echo ${{GOROOT}}

0 comments on commit 5720426

Please sign in to comment.