Skip to content

Commit

Permalink
ci: Update setup-node and cache actions to latest versions and specif…
Browse files Browse the repository at this point in the history
…y Node.js 16 (tensorflow#6153)

Updates to use the latest (3.6.0) release of
[setup-node](https://github.com/actions/setup-node) and bumps the
Node.js version to 16.

This should get rid of some deprecation warnings we're seeing in our
workflow actions (for example,
https://github.com/tensorflow/tensorboard/actions/runs/3388287772).
However, some other actions still need releases to finish cleaning up
these warnings (see tensorflow#6155).

Contributes to tensorflow#6123.
  • Loading branch information
groszewn authored and dna2github committed May 1, 2023
1 parent 6a50408 commit e4762f4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ jobs:
architecture: 'x64'
- name: 'Cache Cargo artifacts'
if: matrix.mode == 'native'
uses: actions/cache@1a9e2138d905efd099035b49d8b7a3888c653ca8
uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3.2.2
with:
path: |
tensorboard/data/server/target/
Expand Down Expand Up @@ -269,7 +269,7 @@ jobs:
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- name: 'Cache Cargo artifacts'
uses: actions/cache@1a9e2138d905efd099035b49d8b7a3888c653ca8
uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3.2.2
with:
path: |
tensorboard/data/server/target/
Expand Down Expand Up @@ -308,10 +308,9 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- uses: actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
# default on setup-node@1 is v10.24.1.
node-version: '12.21.0'
node-version: 16
- run: yarn install --ignore-engines
# You can run `yarn fix-lint` to fix all Prettier complaints.
- run: yarn lint
Expand Down

0 comments on commit e4762f4

Please sign in to comment.