Skip to content

Daggerize all package tests #2

Daggerize all package tests

Daggerize all package tests #2

Workflow file for this run

name: conf-dagger
on:
push:
paths:
- "conf/**"
- ".dagger/**"
- ".github/workflows/conf-dagger.yml"
pull_request:
paths:
- "conf/**"
- ".dagger/**"
- ".github/workflows/conf-dagger.yml"
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: Run conf tests with Dagger
uses: dagger/dagger-for-github@d809c269da643e2a9e56163b6d295c75ecb05f7a # v8.2.0
with:
version: "0.19.4"
verb: call
args: conf-tests --format=testname
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}
- name: Display test summary
if: success()
run: |
{
echo "## ✅ Test Results"
echo ""
echo "conf tests completed successfully using Dagger."
echo ""
echo "**Test Environment:**"
echo "- Container: \`golang:1.24.7\`"
echo "- Test runner: \`gotestsum\`"
echo "- Format: \`testname\`"
echo "- Dagger version: \`0.19.4\`"
} >> "$GITHUB_STEP_SUMMARY"