Skip to content

Commit 75078fa

Browse files
authored
chore: try removing cache from fmt and lint (#8001)
1 parent 9cf3c58 commit 75078fa

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,19 @@ jobs:
188188
steps:
189189
- name: Checkout
190190
uses: actions/checkout@v3
191+
192+
- uses: buildjet/setup-node@v3
191193
with:
192-
fetch-depth: 0
193-
submodules: true
194+
node-version: 16.16.0
194195

195-
- uses: ./.github/actions/setup-node
196-
- uses: ./.github/actions/setup-go
196+
- uses: buildjet/setup-go@v4
197+
with:
198+
# This doesn't need caching. It's super fast anyways!
199+
cache: false
200+
go-version: 1.20.5
201+
202+
- name: Install prettier
203+
run: npm install -g prettier
197204

198205
- name: Install shfmt
199206
run: go install mvdan.cc/sh/v3/cmd/shfmt@v3.5.0

site/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"chromatic": "chromatic",
1212
"dev": "vite",
1313
"format:check": "prettier --cache --check '../**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'",
14-
"format:types": "prettier --write 'src/api/typesGenerated.ts'",
15-
"format:write": "prettier --write '../**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'",
14+
"format:types": "prettier --cache --write 'src/api/typesGenerated.ts'",
15+
"format:write": "prettier --cache --write '../**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'",
1616
"format:write:only": "prettier --write",
1717
"lint": "yarn typegen && yarn run lint:types && jest --selectProjects lint",
1818
"lint:fix": "FIX=true yarn lint",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy