Skip to content

Commit ba22a2b

Browse files
committed
GHA bugfix
1 parent a998277 commit ba22a2b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/basic_checks.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,17 @@ jobs:
66
env:
77
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
88
steps:
9-
# Change: Replaced the incompatible actions/checkout@v4 with a manual git clone.
10-
# The container has git installed. We must also fetch the full history for pkgdown.
9+
# Change: Removed the unnecessary `git fetch --prune --unshallow` command.
1110
- name: Checkout code
1211
run: |
1312
git clone https://github.com/${{ github.repository }} .
14-
git fetch --prune --unshallow
1513
git checkout ${{ github.sha }}
1614
1715
- name: Query dependencies
1816
run: |
1917
install.packages('remotes')
2018
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
2119
shell: Rscript {0}
22-
23-
# Change: The actions/cache step has been removed as it is incompatible.
2420

2521
- name: Install system dependencies
2622
if: runner.os == 'Linux'
@@ -69,4 +65,4 @@ jobs:
6965
with:
7066
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7167
BRANCH: gh-pages
72-
FOLDER: docs
68+
FOLDER: docs

0 commit comments

Comments
 (0)