Skip to content

Commit

Permalink
update action versions (kill GitHub warnings)
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-heyer committed Mar 6, 2024
1 parent f7e1bcb commit e31ccd9
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
build-deploy:
runs-on: docs-16c-64gb-600gb
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch whole repo so git-restore-mtime can work
lfs: true

- name: Adjust file watchers limit
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "npm"
Expand All @@ -44,15 +44,15 @@ jobs:
- name: Checking Gatsby cache
id: gatsby-cache-build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
public/*
!public/pdfs
.cache
key: ${{ runner.os }}-gatsby-build-develop

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11.6"
- uses: r-lib/actions/setup-pandoc@v2
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_DEVELOP_SITE_ID }}

- uses: act10ns/slack@v2.0.0
- uses: act10ns/slack@v2
with:
status: ${{ job.status }}
if: failure()
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: compose a name for the build environment
run: echo "BUILD_ENV_NAME=pr-${{ github.event.number }}-${{ env.GITHUB_HEAD_REF_SLUG }}" >> $GITHUB_ENV

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0 # fetch whole repo so git-restore-mtime can work
Expand All @@ -30,7 +30,7 @@ jobs:
- name: Adjust file watchers limit
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "npm"
Expand All @@ -53,7 +53,7 @@ jobs:
- name: Checking Gatsby cache
id: gatsby-cache-build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
public/*
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
build-deploy:
runs-on: docs-16c-64gb-600gb
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0 # fetch whole repo so git-restore-mtime can work
Expand All @@ -22,7 +22,7 @@ jobs:
- name: Adjust file watchers limit
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "npm"
Expand All @@ -43,7 +43,7 @@ jobs:
run: |
npm rebuild
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11.6"
- uses: r-lib/actions/setup-pandoc@v2
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_MAIN_SITE_ID }}

- uses: act10ns/slack@v2.0.0
- uses: act10ns/slack@v2
with:
status: ${{ job.status }}
if: always()
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/sync-and-process-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout destination
uses: actions/checkout@v3.2.0
uses: actions/checkout@v4
with:
path: destination

- name: Checkout source repo
uses: actions/checkout@v3.2.0
uses: actions/checkout@v4
with:
ref: ${{ github.event.client_payload.sha }}
repository: ${{ github.event.client_payload.repo }}
token: ${{ secrets.SYNC_FILES_TOKEN }}
path: source

- name: setup node
uses: actions/setup-node@v3.5.1
uses: actions/setup-node@v4
with:
node-version: "14"

Expand All @@ -46,7 +46,7 @@ jobs:

- name: Create pull request
if: ${{ !env.ACT }}
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v6
with:
body: ${{ env.BODY }}
branch: ${{ env.BRANCH_NAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sync tool
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
lfs: true
sparse-checkout: |
Expand Down

0 comments on commit e31ccd9

Please sign in to comment.