cert-manager-webhook-dnsimple/.forgejo/workflows/test.yaml
jahanson 0665caf9a6
All checks were successful
/ test (push) Successful in 2m9s
Update runner label
2024-05-20 09:19:13 -05:00

31 lines
No EOL
821 B
YAML

on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: https://code.forgejo.org/actions/setup-go@v5
with:
go-version: '1.22.3'
- name: Output File
run: |
echo "
apiVersion: v1
kind: Secret
metadata:
name: dnsimple-api-token
namespace: basic-present-record
stringData:
api-token: $API_TOKEN" > testdata/dnsimple/dnsimple-secret.yaml
env:
API_TOKEN: ${{ secrets.API_TOKEN }}
- name: Test
run: make test TEST_ZONE_NAME=${{ secrets.TEST_ZONE_NAME }}
- name: Clean up
run: rm -f testdata/dnsimple/dnsimple-secret.yaml