Skip to content

Commit

Permalink
refactor: use macro apply in resolvers (#104)
Browse files Browse the repository at this point in the history
* refactor: use macro apply for resolvers

* refactor: use macro apply for clap

* chore: falling back to rust 2021 edition

* chore: fix code lint

* chore: fix code lint

* refactor: move macros to lib

* chore: fix ava test spec

* chore: fix win test

* chore: use absolute path

* chore: try to add exports

* chore: fix code lint

* chore: use pnpm instead of yarn

* chore: fix ci pnpm

* chore: fix package double quote

* chore: fix corepack

* chore: fix ci checks

* refactor: use jest instead of ava

* refactor: reuse self linking

* chore: fix ci test for linux x64 musl

* chore: fix ci test for linux x64 gnu
  • Loading branch information
fu050409 authored Mar 1, 2025
1 parent f50646d commit 8a0113c
Show file tree
Hide file tree
Showing 25 changed files with 6,006 additions and 3,424 deletions.
5 changes: 5 additions & 0 deletions .changeset/poor-roses-cry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'archons': patch
---

Use macro apply for resolvers
11 changes: 8 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,28 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 10
run_install: false

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
cache: 'pnpm'

- name: Install
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt

- name: Install dependencies
run: yarn install
run: pnpm install

- name: ESLint
run: yarn lint
run: pnpm lint

- name: Cargo fmt
run: cargo fmt -- --check
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,24 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 10
run_install: false
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
cache: pnpm
- name: Install dependencies
run: yarn install
run: pnpm install
- name: Download all artifacts
uses: actions/download-artifact@v4
with:
path: artifacts
- name: Move artifacts
run: yarn artifacts
run: pnpm artifacts
- name: List packages
run: ls -R ./npm
shell: bash
Expand All @@ -51,7 +56,7 @@ jobs:
with:
title: 'chore(release): version packages'
commit: 'chore(release): version packages'
version: yarn bump
version: pnpm bump
publish: npx changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Loading

0 comments on commit 8a0113c

Please sign in to comment.