@@ -12,11 +12,11 @@ jobs:
12
12
test :
13
13
name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
14
14
if : ${{ github.event_name != 'pull_request' }} # Avoid running on PRs as OIDC will fail when running on a fork
15
+ # These permissions are needed to:
16
+ # - Checking out the repository (`contents: read`)
17
+ # - Interact with GitHub's OIDC Token endpoint: https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services#adding-permissions-settings
18
+ # - Delete old caches: https://github.com/julia-actions/cache#usage
15
19
permissions :
16
- # Required for interacting with GitHub's OIDC Token endpoint:
17
- # - Checking out the repository (`contents: read`)
18
- # - Interact with GitHub's OIDC Token endpoint: https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services#adding-permissions-settings
19
- # - Delete old caches: https://github.com/julia-actions/cache#usage
20
20
actions : write
21
21
contents : read
22
22
id-token : write
78
78
- uses : julia-actions/julia-buildpkg@v1
79
79
- uses : julia-actions/julia-runtest@v1
80
80
81
- docs :
82
- name : Documentation
83
- runs-on : ubuntu-latest
84
- steps :
85
- - uses : actions/checkout@v4
86
- - uses : julia-actions/setup-julia@v2
87
- with :
88
- version : " 1"
89
- - uses : julia-actions/cache@v2
90
- - uses : julia-actions/julia-buildpkg@v1
91
- - uses : julia-actions/julia-docdeploy@v1
92
- env :
93
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
94
- DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
95
-
96
81
# Merge queues only wait for the required status checks to pass which are defined in the
97
82
# repository settings under the branch protection rules. Unfortunately, the required
98
83
# status checks for PRs and merge queues must be the identical even though the workflows
0 commit comments