Skip to content

Commit a8adbb1

Browse files
authored
Merge pull request #1150 from stan-dev/dependabot/github_actions/actions/upload-artifact-7
Bump actions/upload-artifact from 6 to 7
2 parents 6b7f04a + 3a2487d commit a8adbb1

3 files changed

Lines changed: 7 additions & 9 deletions

File tree

.github/workflows/R-CMD-check-wsl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181

8282
- name: Upload check results
8383
if: failure()
84-
uses: actions/upload-artifact@v6
84+
uses: actions/upload-artifact@v7
8585
with:
8686
name: wsl-backend-results
8787
path: check

.github/workflows/R-CMD-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122

123123
- name: Upload check results
124124
if: failure()
125-
uses: actions/upload-artifact@v6
125+
uses: actions/upload-artifact@v7
126126
with:
127127
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
128128
path: check

.github/workflows/Test-coverage.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ on:
1010

1111
name: Test coverage
1212

13-
permissions: read-all
13+
permissions:
14+
contents: read
15+
id-token: write
1416

1517
jobs:
1618
test-coverage:
@@ -69,8 +71,6 @@ jobs:
6971
print(cov)
7072
covr::to_cobertura(cov)
7173
shell: Rscript {0}
72-
env:
73-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
7474

7575
- name: Test coverage (Windows)
7676
if: runner.os == 'Windows'
@@ -86,8 +86,6 @@ jobs:
8686
print(cov)
8787
covr::to_cobertura(cov)
8888
shell: Rscript {0}
89-
env:
90-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
9189

9290
- uses: codecov/codecov-action@v5
9391
with:
@@ -96,7 +94,7 @@ jobs:
9694
files: ./cobertura.xml
9795
plugins: noop
9896
disable_search: true
99-
token: ${{ secrets.CODECOV_TOKEN }}
97+
use_oidc: true
10098

10199
- name: Show testthat output
102100
if: always()
@@ -107,7 +105,7 @@ jobs:
107105

108106
- name: Upload test results
109107
if: failure()
110-
uses: actions/upload-artifact@v6
108+
uses: actions/upload-artifact@v7
111109
with:
112110
name: coverage-test-failures
113111
path: ${{ runner.temp }}/package

0 commit comments

Comments
 (0)