Skip to content

Checks for Github Actions

Actions
Run dagger checks in Github Actions
v1.0.0
Latest
Verified creator
Star (2)

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

GitHub action to run Dagger Checks

Usage Examples

dagger checks

- name: Check
  uses: dagger/checks@v1.0.0

dagger checks '**/lint'

- name: Check
  uses: dagger/checks@v1.0.0
  with:
    filter: '**/lint'

dagger checks with Dagger vX.Y.Z and a Dagger Cloud Token

- name: Check
  uses: dagger/checks@v1.0.0
  with:
    version: 'vX.Y.Z'
    cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}

Dynamic matrix: run each check as its own job

Use list: true to discover available checks, then run each one independently with its own runner:

jobs:
  list-checks:
    runs-on: ubuntu-latest
    outputs:
      checks: ${{ steps.list.outputs.checks }}
    steps:
      - uses: actions/checkout@v4
      - uses: dagger/checks@v1.0.0
        id: list
        with:
          list: true

  run-check:
    needs: list-checks
    runs-on: ubuntu-latest
    strategy:
      matrix:
        check: ${{ fromJSON(needs.list-checks.outputs.checks) }}
    steps:
      - uses: actions/checkout@v4
      - uses: dagger/checks@v1.0.0
        with:
          filter: ${{ matrix.check }}

Checks for Github Actions is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Run dagger checks in Github Actions
v1.0.0
Latest

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

Checks for Github Actions is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.