Skip to content

Commit 5035c10

Browse files
authored
Bump GitHub actions to latest version (#14182)
This PR bumps the versions of common GitHub workflows to the latest version.
1 parent e299ea3 commit 5035c10

File tree

2 files changed

+18
-32
lines changed

2 files changed

+18
-32
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,18 @@ jobs:
2020
timeout-minutes: 15
2121

2222
steps:
23-
- uses: actions/checkout@v3
24-
- uses: pnpm/action-setup@v3
25-
with:
26-
version: ^9.5.0
23+
- uses: actions/checkout@v4
24+
- uses: pnpm/action-setup@v4
2725

2826
- name: Use Node.js ${{ matrix.node-version }}
29-
uses: actions/setup-node@v3
27+
uses: actions/setup-node@v4
3028
with:
3129
node-version: ${{ matrix.node-version }}
3230
cache: 'pnpm'
3331

3432
# Cargo already skips downloading dependencies if they already exist
3533
- name: Cache cargo
36-
uses: actions/cache@v3
34+
uses: actions/cache@v4
3735
with:
3836
path: |
3937
~/.cargo/bin/
@@ -45,7 +43,7 @@ jobs:
4543

4644
# Cache the `oxide` Rust build
4745
- name: Cache oxide build
48-
uses: actions/cache@v3
46+
uses: actions/cache@v4
4947
with:
5048
path: |
5149
./target/
@@ -76,10 +74,3 @@ jobs:
7674

7775
- name: Run Playwright tests
7876
run: npm run test:ui
79-
80-
- uses: actions/upload-artifact@v3
81-
if: always()
82-
with:
83-
name: playwright-report
84-
path: packages/tailwindcss/playwright-report/
85-
retention-days: 30

.github/workflows/release.yml

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ permissions:
1515
env:
1616
APP_NAME: tailwindcss-oxide
1717
NODE_VERSION: 20
18-
PNPM_VERSION: ^9.5.0
1918
OXIDE_LOCATION: ./crates/node
2019

2120
jobs:
@@ -75,20 +74,18 @@ jobs:
7574
container: ${{ matrix.container }}
7675
timeout-minutes: 15
7776
steps:
78-
- uses: actions/checkout@v3
79-
- uses: pnpm/action-setup@v3
80-
with:
81-
version: ${{ env.PNPM_VERSION }}
77+
- uses: actions/checkout@v4
78+
- uses: pnpm/action-setup@v4
8279

8380
- name: Use Node.js ${{ env.NODE_VERSION }}
84-
uses: actions/setup-node@v3
81+
uses: actions/setup-node@v4
8582
with:
8683
node-version: ${{ env.NODE_VERSION }}
8784
cache: 'pnpm'
8885

8986
# Cargo already skips downloading dependencies if they already exist
9087
- name: Cache cargo
91-
uses: actions/cache@v3
88+
uses: actions/cache@v4
9289
with:
9390
path: |
9491
~/.cargo/bin/
@@ -100,7 +97,7 @@ jobs:
10097

10198
# Cache the `oxide` Rust build
10299
- name: Cache oxide build
103-
uses: actions/cache@v3
100+
uses: actions/cache@v4
104101
with:
105102
path: |
106103
./oxide/target/
@@ -110,7 +107,7 @@ jobs:
110107
key: ${{ runner.os }}-${{ matrix.target }}-oxide-${{ hashFiles('./crates/**/*') }}
111108

112109
- name: Install Node.JS
113-
uses: actions/setup-node@v3
110+
uses: actions/setup-node@v4
114111
with:
115112
node-version: ${{ env.NODE_VERSION }}
116113

@@ -136,7 +133,7 @@ jobs:
136133
run: ${{ matrix.strip }} ${{ env.OXIDE_LOCATION }}/*.node
137134

138135
- name: Upload artifacts
139-
uses: actions/upload-artifact@v3
136+
uses: actions/upload-artifact@v4
140137
with:
141138
name: bindings-${{ matrix.target }}
142139
path: ${{ env.OXIDE_LOCATION }}/*.node
@@ -155,21 +152,19 @@ jobs:
155152
- build
156153

157154
steps:
158-
- uses: actions/checkout@v3
159-
- uses: pnpm/action-setup@v3
160-
with:
161-
version: ${{ env.PNPM_VERSION }}
155+
- uses: actions/checkout@v4
156+
- uses: pnpm/action-setup@v4
162157

163158
- name: Use Node.js ${{ env.NODE_VERSION }}
164-
uses: actions/setup-node@v3
159+
uses: actions/setup-node@v4
165160
with:
166161
node-version: ${{ env.NODE_VERSION }}
167162
cache: 'pnpm'
168163
registry-url: 'https://registry.npmjs.org'
169164

170165
# Cargo already skips downloading dependencies if they already exist
171166
- name: Cache cargo
172-
uses: actions/cache@v3
167+
uses: actions/cache@v4
173168
with:
174169
path: |
175170
~/.cargo/bin/
@@ -181,7 +176,7 @@ jobs:
181176

182177
# Cache the `oxide` Rust build
183178
- name: Cache oxide build
184-
uses: actions/cache@v3
179+
uses: actions/cache@v4
185180
with:
186181
path: |
187182
./oxide/target/
@@ -197,7 +192,7 @@ jobs:
197192
run: pnpm run build
198193

199194
- name: Download artifacts
200-
uses: actions/download-artifact@v3
195+
uses: actions/download-artifact@v4
201196
with:
202197
path: ${{ env.OXIDE_LOCATION }}
203198

0 commit comments

Comments
 (0)