Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/simplify build #253

Merged
merged 2 commits into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 8 additions & 27 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,38 +7,14 @@ on:
merge_group:

jobs:
fmt-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: deno-fmt
id: fmt
uses: denoland/setup-deno@main
with:
deno-version: "~1.37"
- run: |
deno fmt --check

linting-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: check-linting
id: lint
uses: denoland/setup-deno@main
with:
deno-version: "~1.37"
- run: |
deno lint

build:
if: ${{ success() }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@main
with:
deno-version: "~1.34"
deno-version: "~1.37"
- uses: actions/cache@v3
with:
path: ~/.cache/deno # see https://deno.land/manual/linking_to_external_code
Expand All @@ -49,6 +25,12 @@ jobs:
run: |
deno --version
deno info
- name: lint
run: |
deno lint
- name: fmt
run: |
deno fmt --check
- name: check
run: |
deno task check
Expand All @@ -57,5 +39,4 @@ jobs:
deno task test
- name: cheap integration test
run: |
deno task run

deno task run
1 change: 0 additions & 1 deletion src/model/tree.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as colors from "std/fmt/colors";
import * as path from "std/path";

export interface Tree<T> {
[path: string]: Tree<T> | T;
Expand Down
Loading