Skip to content

Daily CI

Daily CI #694

Workflow file for this run

# This workflow runs every weekday at 15:00 UTC (8AM PDT)
name: Daily CI
on:
schedule:
- cron: "00 15 * * 1-5"
permissions:
contents: read
id-token: write
jobs:
getVersions:
# Don't run the cron builds on forks
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
uses: ./.github/workflows/dafny_versions.yaml
daily-ci-format:
needs: getVersions
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
uses: ./.github/workflows/library_format.yml
with:
dafny: ${{needs.getVersions.outputs.version}}
daily-ci-codegen:
needs: getVersions
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
uses: ./.github/workflows/library_codegen.yml
with:
dafny: ${{needs.getVersions.outputs.version}}
daily-ci-verification:
needs: getVersions
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
uses: ./.github/workflows/library_dafny_verification.yml
with:
dafny: ${{needs.getVersions.outputs.verifyVersion}}
daily-ci-java:
needs: getVersions
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
uses: ./.github/workflows/library_java_tests.yml

Check warning on line 38 in .github/workflows/daily_ci.yml

View workflow run for this annotation

GitHub Actions / Daily CI

Workflow syntax warning

In .github/workflows/daily_ci.yml (Line: 38, Col: 11): Error from called workflow aws/aws-cryptographic-material-providers-library/.github/workflows/library_java_tests.yml@3e685adba6081b54b3c06becf5fa95aa94311974 (Line: 86, Col: 13): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?
with:
dafny: ${{needs.getVersions.outputs.version}}
daily-ci-net:
needs: getVersions
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
uses: ./.github/workflows/library_net_tests.yml
with:
dafny: ${{needs.getVersions.outputs.version}}
daily-ci-rust:
needs: getVersions
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
uses: ./.github/workflows/library_rust_tests.yml
with:
dafny: ${{needs.getVersions.outputs.rustVersion}}
daily-ci-python:
needs: getVersions
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
uses: ./.github/workflows/library_python_tests.yml
with:
dafny: ${{needs.getVersions.outputs.version}}
daily-ci-go:
needs: getVersions
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
uses: ./.github/workflows/library_go_tests.yml
with:
dafny: ${{needs.getVersions.outputs.version}}
daily-interop-test:
needs: getVersions
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
uses: ./.github/workflows/library_interop_tests.yml
with:
dafny: ${{needs.getVersions.outputs.version}}
daily-fuzz-interop-test:
needs: getVersions
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
uses: ./.github/workflows/library_interop_tests.yml
with:
dafny: ${{needs.getVersions.outputs.version}}
fuzz-testing: true
notify:
needs:
[
getVersions,
daily-ci-format,
daily-ci-codegen,
daily-ci-verification,
daily-ci-java,
daily-ci-net,
daily-ci-rust,
daily-ci-python,
daily-ci-go,
daily-interop-test,
daily-fuzz-interop-test,
]
if: ${{ failure() }}
uses: ./.github/workflows/slack-notification.yml
with:
message: "Daily CI failed on `${{ github.repository }}`. View run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_CI }}