|
4 | 4 | workflow_call:
|
5 | 5 | workflow_dispatch:
|
6 | 6 | pull_request:
|
| 7 | + push: |
| 8 | + branches: |
| 9 | + - PSG-5780-sdk-test-go |
7 | 10 |
|
8 | 11 | env:
|
9 | 12 | PASSAGE_APP_ID: ${{ secrets.PASSAGE_APP_ID }}
|
|
12 | 15 | PASSAGE_AUTH_TOKEN: ${{ secrets.PASSAGE_AUTH_TOKEN }}
|
13 | 16 |
|
14 | 17 | jobs:
|
15 |
| - lint: |
16 |
| - name: Lint |
17 |
| - runs-on: ubuntu-latest |
18 |
| - steps: |
19 |
| - - uses: actions/checkout@v4 |
20 |
| - - uses: actions/setup-go@v5 |
21 |
| - with: |
22 |
| - go-version: '1.21' |
23 |
| - - name: Lint |
24 |
| - uses: golangci/golangci-lint-action@v6 |
25 |
| - with: |
26 |
| - version: v1.60 |
27 |
| - format: |
28 |
| - name: Format |
29 |
| - runs-on: ubuntu-latest |
30 |
| - steps: |
31 |
| - - uses: actions/checkout@v4 |
32 |
| - - uses: actions/setup-go@v5 |
33 |
| - with: |
34 |
| - go-version: '1.21' |
35 |
| - - name: Format |
36 |
| - run: | |
37 |
| - if [[ $(gofmt -s -d .) ]]; then |
38 |
| - echo "Run 'gofmt -s -w .' to format code." |
39 |
| - exit 1 |
40 |
| - fi |
41 |
| - test: |
42 |
| - name: Test |
43 |
| - runs-on: ubuntu-latest |
44 |
| - steps: |
45 |
| - - uses: actions/checkout@v4 |
46 |
| - - uses: actions/setup-go@v5 |
47 |
| - with: |
48 |
| - go-version: '1.21' |
49 |
| - - name: Test |
50 |
| - run: go test ./... |
51 |
| - - name: Test with race detector |
52 |
| - run: go test -race -run TestAppJWKSCacheWriteConcurrency |
| 18 | + # lint: |
| 19 | + # name: Lint |
| 20 | + # runs-on: ubuntu-latest |
| 21 | + # steps: |
| 22 | + # - uses: actions/checkout@v4 |
| 23 | + # - uses: actions/setup-go@v5 |
| 24 | + # with: |
| 25 | + # go-version: '1.21' |
| 26 | + # - name: Lint |
| 27 | + # uses: golangci/golangci-lint-action@v6 |
| 28 | + # with: |
| 29 | + # version: v1.60 |
| 30 | + # format: |
| 31 | + # name: Format |
| 32 | + # runs-on: ubuntu-latest |
| 33 | + # steps: |
| 34 | + # - uses: actions/checkout@v4 |
| 35 | + # - uses: actions/setup-go@v5 |
| 36 | + # with: |
| 37 | + # go-version: '1.21' |
| 38 | + # - name: Format |
| 39 | + # run: | |
| 40 | + # if [[ $(gofmt -s -d .) ]]; then |
| 41 | + # echo "Run 'gofmt -s -w .' to format code." |
| 42 | + # exit 1 |
| 43 | + # fi |
| 44 | + # test: |
| 45 | + # name: Test |
| 46 | + # runs-on: ubuntu-latest |
| 47 | + # steps: |
| 48 | + # - uses: actions/checkout@v4 |
| 49 | + # - uses: actions/setup-go@v5 |
| 50 | + # with: |
| 51 | + # go-version: '1.21' |
| 52 | + # - name: Test |
| 53 | + # run: go test ./... |
| 54 | + # - name: Test with race detector |
| 55 | + # run: go test -race -run TestAppJWKSCacheWriteConcurrency |
53 | 56 | test-e2e:
|
54 | 57 | name: Test E2E
|
55 | 58 | runs-on: ubuntu-latest
|
|
0 commit comments