Merge pull request #2 from vulnebify/bohdan-vulnebify/issue1 #11
This file contains hidden or 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: Test misePTR | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - '**.md' | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| name: Run Tests | |
| env: | |
| CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.23' | |
| - name: Install setup-envtest | |
| run: | | |
| make setup-envtest | |
| echo "$HOME/go/bin" >> $GITHUB_PATH | |
| - name: Prepare Kubernetes Binaries | |
| run: | | |
| make fetch-envtest-binaries | |
| - name: Run Tests | |
| run: | | |
| make test |