Skip to content

chore: update PR workflow and add linter #6

chore: update PR workflow and add linter

chore: update PR workflow and add linter #6

Workflow file for this run

name: PR
on:
pull_request:
types:
- opened
- reopened
- edited
- synchronize
jobs:
pr-title-check:
runs-on: ubuntu-latest
permissions:
statuses: write
steps:
- uses: aslafy-z/conventional-pr-title-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
code-quality:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/Checkout@v4
- name: Lint
uses: dagger/[email protected]
with:
version: "v0.16.3"
verb: call
module: github.com/MartinSimango/daggerverse/[email protected]
args: "lint --source=."
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}
- name: Test
uses: dagger/[email protected]
with:
version: "v0.16.3"
verb: call
module: github.com/MartinSimango/daggerverse/[email protected]
args: "test --source=."
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}