This repository has been archived by the owner on Dec 7, 2023. It is now read-only.
Bump actions/setup-go from 2 to 5 #8
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: Unit Test - External DNS | |
on: | |
pull_request: | |
types: | |
- ready_for_review | |
- opened | |
- synchronize | |
- reopened | |
paths: | |
- "addons/packages/external-dns/**/*" | |
- ".github/workflows/test-pr-external-dns.yaml" | |
jobs: | |
unittestexternaldns: | |
name: Unit Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v1 | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.17" | |
id: go | |
- name: Install Carvel Tools | |
run: | | |
wget -O- https://carvel.dev/install.sh > install.sh | |
sudo bash install.sh | |
ytt version | |
- name: Run External DNS Unit Tests | |
run: | | |
for version in addons/packages/external-dns/*/ ; do | |
pushd "${version}/test" | |
make test | |
popd | |
done |