Skip to content

Commit 9cc2ee9

Browse files
committed
testing
1 parent 06adc6c commit 9cc2ee9

File tree

1 file changed

+41
-38
lines changed

1 file changed

+41
-38
lines changed

.github/workflows/on-pull-request.yml

+41-38
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
workflow_call:
55
workflow_dispatch:
66
pull_request:
7+
push:
8+
branches:
9+
- PSG-5780-sdk-test-go
710

811
env:
912
PASSAGE_APP_ID: ${{ secrets.PASSAGE_APP_ID }}
@@ -12,44 +15,44 @@ env:
1215
PASSAGE_AUTH_TOKEN: ${{ secrets.PASSAGE_AUTH_TOKEN }}
1316

1417
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
5356
test-e2e:
5457
name: Test E2E
5558
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)