Skip to content

Commit

Permalink
Split out a job.
Browse files Browse the repository at this point in the history
  • Loading branch information
danfuzz committed Sep 11, 2024
1 parent d4a61ea commit 002b7fc
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,14 @@ on:
# Workflow. Jobs run in parallel by default, but that is moot here: there's only
# one job.
jobs:
# Build the project!
build:
# Check dependencies.
check-dependencies:
runs-on: ubuntu-latest
steps:
- name: Get Node.
uses: actions/setup-node@v4
with:
node-version: '20.x'

# Note: Checks out into `$GITHUB_WORKSPACE`, which is also the `$CWD`.
- name: Clone repo.
uses: actions/checkout@v4

- name: Dependency Review
- name: Check dependencies.
uses: actions/dependency-review-action@v4
with:
warn-only: true
Expand All @@ -53,6 +47,19 @@ jobs:
Python-2.0,
Unlicense
# Build the project.
build:
runs-on: ubuntu-latest
steps:
- name: Get Node.
uses: actions/setup-node@v4
with:
node-version: '20.x'

# Note: Checks out into `$GITHUB_WORKSPACE`, which is also the `$CWD`.
- name: Clone repo.
uses: actions/checkout@v4

- name: Run the linter.
run: ./scripts/ubik dev lint

Expand Down

0 comments on commit 002b7fc

Please sign in to comment.