ingress-test.yaml
1 name: Ingress Tests 2 3 on: 4 pull_request: 5 branches: [ main ] 6 paths: 7 - 'components/ingress/**' 8 - 'components/internal/**' 9 10 concurrency: 11 group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} 12 cancel-in-progress: true 13 14 jobs: 15 test: 16 permissions: 17 contents: read 18 runs-on: ubuntu-latest 19 steps: 20 - name: Checkout code 21 uses: actions/checkout@v6 22 23 - name: Set up Go 24 uses: actions/setup-go@v6 25 with: 26 go-version: '1.24.0' 27 28 - name: Run golint 29 working-directory: components/ingress 30 run: | 31 make golint 32 33 - name: Run Build 34 working-directory: components/ingress 35 run: | 36 make build 37 38 - name: Run tests 39 working-directory: components/ingress 40 run: | 41 make test