Skip to content

Commit

Permalink
Fix github actions?
Browse files Browse the repository at this point in the history
  • Loading branch information
wyatt-herkamp committed Aug 17, 2024
1 parent b92b22a commit 7198cdb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 17 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,3 @@ jobs:
uses: dtolnay/rust-toolchain@stable
- name: Test
run: cargo test --all
clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
# Yes by doing this we are not checking the feature code. However, it is a small point. And I really dont want to have to run the build script
args: --manifest-path backend/Cargo.toml --no-default-features --no-deps
9 changes: 3 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # Not needed if lastUpdated is not enabled
# - uses: pnpm/action-setup@v3 # Uncomment this if you're using pnpm
# - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm # or pnpm / yarn
node-version-file: "docs/.node-version"
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Install dependencies
working-directory: docs
run: npm ci # or pnpm install / yarn install / bun install
run: npm ci
- name: Build with VitePress
working-directory: docs
run: npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
Expand Down
1 change: 1 addition & 0 deletions site/.node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v22

0 comments on commit 7198cdb

Please sign in to comment.