-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: update workflow * fix: use local checkout sha * ci: update * ci: oh god i forget that we runs on windows, instead of linux... * ci: add prettier ci check * ci: again... windows... why... kill me plz... * ci: fck windows again
- Loading branch information
Showing
4 changed files
with
50 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: PR-check | ||
|
||
on: | ||
pull_request: | ||
|
||
concurrency: | ||
group: lint-${{ github.sha }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
lint: | ||
#runs-on: ubuntu-latest | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Node.js 🔧 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Install Rust 🔧 | ||
uses: ATiltedTree/setup-rust@v1 | ||
with: | ||
rust-version: stable | ||
components: clippy | ||
|
||
- name: Install Deps 🔧 | ||
run: | | ||
npm install -g pnpm@^8 | ||
pnpm install --frozen-lockfile | ||
- name: Lint PR | ||
run: | | ||
pnpm run prettier:ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters