Skip to content

chore: remove cache from fmt to save time #8001

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: try removing cache from fmt and lint
  • Loading branch information
kylecarbs committed Jun 13, 2023
commit 85e950cd0560713610fb49fe50308bff30a60388
15 changes: 11 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,19 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- uses: buildjet/setup-node@v3
with:
fetch-depth: 0
submodules: true
node-version: 16.16.0

- uses: ./.github/actions/setup-node
- uses: ./.github/actions/setup-go
- uses: buildjet/setup-go@v4
with:
# This doesn't need caching. It's super fast anyways!
cache: false
go-version: 1.20.5

- name: Install prettier
run: npm install -g prettier

- name: Install shfmt
run: go install mvdan.cc/sh/v3/cmd/shfmt@v3.5.0
Expand Down
4 changes: 2 additions & 2 deletions site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"chromatic": "chromatic",
"dev": "vite",
"format:check": "prettier --cache --check '../**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'",
"format:types": "prettier --write 'src/api/typesGenerated.ts'",
"format:write": "prettier --write '../**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'",
"format:types": "prettier --cache --write 'src/api/typesGenerated.ts'",
"format:write": "prettier --cache --write '../**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'",
"format:write:only": "prettier --write",
"lint": "yarn typegen && yarn run lint:types && jest --selectProjects lint",
"lint:fix": "FIX=true yarn lint",
Expand Down