|
5 | 5 | - main |
6 | 6 | pull_request: |
7 | 7 |
|
| 8 | +permissions: {} |
| 9 | + |
8 | 10 | env: |
9 | 11 | # https://github.com/actions/setup-go#supported-version-syntax |
10 | 12 | # ex: |
|
18 | 20 | runs-on: ubuntu-latest |
19 | 21 | steps: |
20 | 22 | - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
| 23 | + with: |
| 24 | + persist-credentials: false |
21 | 25 | - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 |
22 | 26 | with: |
23 | 27 | go-version: ${{ env.GO_VERSION }} |
|
27 | 31 | git diff --exit-code go.mod |
28 | 32 | git diff --exit-code go.sum |
29 | 33 |
|
30 | | - # This check is disabled because of GitHub API instability: 504 Gateway Timeout. |
31 | | - # Checks: GitHub action assets |
32 | | -# check-generated: |
33 | | -# runs-on: ubuntu-latest |
34 | | -# steps: |
35 | | -# - uses: actions/checkout@v6 |
36 | | -# with: |
37 | | -# fetch-depth: 0 |
38 | | -# - uses: actions/setup-go@v6 |
39 | | -# with: |
40 | | -# go-version: ${{ env.GO_VERSION }} |
41 | | -# - name: Check generated files are up-to-date |
42 | | -# run: make fast_check_generated |
43 | | -# env: |
44 | | -# # needed for github-action-config.json generation |
45 | | -# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
46 | | - |
47 | 34 | check-local-install-script: |
48 | 35 | name: Installation script (local) |
49 | 36 | strategy: |
|
52 | 39 | runs-on: ${{ matrix.os }} |
53 | 40 | steps: |
54 | 41 | - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
| 42 | + with: |
| 43 | + persist-credentials: false |
55 | 44 | - name: Check installation script |
56 | 45 | run: cat ./install.sh | sh -s -- -d -b "./install-golangci-lint" |
57 | 46 |
|
|
60 | 49 | runs-on: ubuntu-latest |
61 | 50 | steps: |
62 | 51 | - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
| 52 | + with: |
| 53 | + persist-credentials: false |
63 | 54 | - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 |
64 | 55 | with: |
65 | 56 | go-version: ${{ env.GO_VERSION }} |
|
0 commit comments