Skip to content

Commit

Permalink
Fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
NChitty committed Oct 3, 2024
1 parent 219554e commit 7e05ab0
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}
name: "Rust Format"
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./lambda
permissions:
pull-requests: write
steps:
Expand All @@ -24,6 +27,9 @@ jobs:
clippy:
name: "Rust Lint"
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./lambda
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
Expand All @@ -40,6 +46,9 @@ jobs:
tests:
name: "Rust Tests"
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./lambda
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -51,13 +60,15 @@ jobs:
tsbuild:
name: "CDK Build & Test"
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./cdk
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- working-directory: ./cdk
run: |
npm ci
npm run build
Expand All @@ -72,7 +83,16 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: reviewdog/action-eslint@v1
name: Lint CDK
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
filter_mode: diff_context
workdir: ./cdk
- uses: reviewdog/action-eslint@v1
name: Lint Lambda Playwright
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
filter_mode: diff_context
workdir: ./lambda/playwright

0 comments on commit 7e05ab0

Please sign in to comment.