Skip to content

Commit

Permalink
merge: Cleanup codebase & Upgrade dependencies (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
pan93412 authored Jan 20, 2023
2 parents 178a290 + e6b3523 commit 576146d
Show file tree
Hide file tree
Showing 36 changed files with 407 additions and 420 deletions.
20 changes: 10 additions & 10 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@

version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'daily'
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

# Maintain dependencies for Cargo
- package-ecosystem: 'cargo'
directory: '/'
schedule:
interval: 'daily'
# Maintain dependencies for Cargo
- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "weekly"
13 changes: 9 additions & 4 deletions .github/workflows/check-test-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:
actions: write
contents: read

concurrency:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

Expand All @@ -26,9 +26,14 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: rui314/setup-mold@v1
- uses: taiki-e/install-action@nextest
- run: cargo nextest run && cargo test --doc
- if: runner.os != 'Windows'
uses: rui314/setup-mold@v1
- if: runner.os != 'Windows'
uses: taiki-e/install-action@nextest
- if: runner.os != 'Windows'
run: cargo nextest run && cargo test --doc
- if: runner.os == 'Windows'
run: cargo test

cargo-fmt:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/napi-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
set -e &&
export CC_aarch64_unknown_linux_gnu=aarch64-linux-gnu-gcc &&
export CC=aarch64-linux-gnu-gcc &&
sudo apt update &&
sudo apt install -y gcc-aarch64-linux-gnu &&
rustup target add aarch64-unknown-linux-gnu &&
yarn build --target aarch64-unknown-linux-gnu &&
Expand Down
Loading

0 comments on commit 576146d

Please sign in to comment.