Skip to content

Commit

Permalink
Merge pull request #32 from openlawlibrary/ndusan/serve-current-docum…
Browse files Browse the repository at this point in the history
…ents

feat: Serve current documents
  • Loading branch information
n-dusan authored Jan 29, 2024
2 parents 66190ac + fd3a3ed commit 9aaed03
Show file tree
Hide file tree
Showing 89 changed files with 2,842 additions and 870 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# production release
- uses: taiki-e/create-gh-release-action@v1
with:
Expand All @@ -37,7 +37,7 @@ jobs:
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: taiki-e/upload-rust-binary-action@v1
with:
# (required) Comma-separated list of binary names (non-extension portion of filename) to build and upload.
Expand Down
24 changes: 10 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,41 +10,37 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
uses: dtolnay/rust-toolchain@stable

- name: Install NuShell
uses: hustcer/setup-nu@v3
env:
GITHUB_TOKEN: ${{ secrets.STELAE_GITHUB_TOKEN }}

- name: Install Just
uses: extractions/setup-just@v1
env:
GITHUB_TOKEN: ${{ secrets.STELAE_GITHUB_TOKEN }}

- name: Run tests
run: just test
- uses: taiki-e/install-action@v1
with:
tool: nextest
- name: Run tests (nextest)
run: just nextest

lints:
name: Lints
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@1.70 # Pin based on current `rust-version` in Cargo.toml. IMPORTANT: Upgrade version when `rust-version` changes.
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy

- name: Install Just
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/target
# VS Code settings
.vscode/

!.vscode/settings.json
Loading

0 comments on commit 9aaed03

Please sign in to comment.