chore: cleanup go lambdas #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: deno-ci | |
on: | |
workflow_dispatch: | |
push: | |
branches: ["main"] | |
paths: | |
- "tools-deno/**" | |
pull_request: | |
paths: | |
- "tools-deno/**" | |
jobs: | |
deno-ci: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./tools-deno | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: vx.x.x | |
# Check if all deno projects are ok | |
- run: | | |
export PIKA_PATH="$(pwd)"; | |
for dir in */; do | |
cd $PIKA_PATH/$dir; | |
echo "Checking - $(pwd)\n"; | |
deno lint && deno fmt --check && deno test -A --permit-no-files; | |
done |