-
-
Notifications
You must be signed in to change notification settings - Fork 9
45 lines (42 loc) · 1.52 KB
/
Copy pathpr.yml
File metadata and controls
45 lines (42 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: PR
on:
pull_request:
jobs:
check-workflows:
name: Check workflows
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download actionlint
id: download-actionlint
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/7fdc9630cc360ea1a469eed64ac6d78caeda1234/scripts/download-actionlint.bash) 1.6.23
shell: bash
- name: Check workflow files
run: ${{ steps.download-actionlint.outputs.executable }} -color
shell: bash
build-lint-test:
name: Validate
uses: ./.github/workflows/build-lint-test.yml
secrets:
RPC_URL_MAINNET_LIST: ${{ secrets.RPC_URL_MAINNET_LIST }}
RPC_URL_DEVNET_LIST: ${{ secrets.RPC_URL_DEVNET_LIST }}
RPC_URL_TESTNET_LIST: ${{ secrets.RPC_URL_TESTNET_LIST }}
RPC_URL_LOCALNET_LIST: ${{ secrets.RPC_URL_LOCALNET_LIST }}
EXPLORER_BASE_URL: ${{ secrets.EXPLORER_BASE_URL }}
PRICE_API_BASE_URL: ${{ secrets.PRICE_API_BASE_URL }}
LOCAL_API_BASE_URL: ${{ secrets.LOCAL_API_BASE_URL }}
TOKEN_API_BASE_URL: ${{ secrets.TOKEN_API_BASE_URL }}
STATIC_API_BASE_URL: ${{ secrets.STATIC_API_BASE_URL }}
SECURITY_ALERTS_API_BASE_URL: ${{ secrets.SECURITY_ALERTS_API_BASE_URL }}
sonarcloud:
permissions:
id-token: write
contents: write
checks: write
pull-requests: write
actions: read
name: SonarCloud
needs: build-lint-test
uses: ./.github/workflows/sonarcloud.yml
secrets:
sonar_token: ${{ secrets.SONAR_TOKEN }}