Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ci_codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
description: "The dafny version to run"
required: true
type: string
branch:
description: "Branch to checkout"
required: false
default: main
type: string

jobs:
code-generation:
Expand Down Expand Up @@ -37,6 +42,7 @@ jobs:

- uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
submodules: recursive
- run: git submodule update --init --recursive submodules/smithy-dafny

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci_examples_java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
description: "The Dafny version to run"
required: true
type: string
branch:
description: "Branch to checkout"
required: false
default: main
type: string
regenerate-code:
description: "Regenerate code using smithy-dafny"
required: false
Expand Down Expand Up @@ -48,6 +53,7 @@ jobs:

- uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
submodules: recursive

- name: Setup Java 8
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci_examples_net.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
description: "The Dafny version to run"
required: true
type: string
branch:
description: "Branch to checkout"
required: false
default: main
type: string
regenerate-code:
description: "Regenerate code using smithy-dafny"
required: false
Expand Down Expand Up @@ -38,6 +43,7 @@ jobs:
steps:
- uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
submodules: recursive

- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci_test_java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
description: "The Dafny version to run"
required: true
type: string
branch:
description: "Branch to checkout"
required: false
default: main
type: string
regenerate-code:
description: "Regenerate code using smithy-dafny"
required: false
Expand Down Expand Up @@ -49,6 +54,7 @@ jobs:

- uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
submodules: recursive

- name: Setup Dafny
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci_test_net.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
description: "The Dafny version to run"
required: true
type: string
branch:
description: "Branch to checkout"
required: false
default: main
type: string
regenerate-code:
description: "Regenerate code using smithy-dafny"
required: false
Expand Down Expand Up @@ -39,6 +44,7 @@ jobs:
git config --global core.longpaths true
- uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
submodules: recursive

- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci_test_vector_java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
description: "The Dafny version to run"
required: true
type: string
branch:
description: "Branch to checkout"
required: false
default: main
type: string
regenerate-code:
description: "Regenerate code using smithy-dafny"
required: false
Expand Down Expand Up @@ -60,6 +65,7 @@ jobs:

- uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
submodules: recursive

- name: Setup Dafny
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci_test_vector_net.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
description: "The Dafny version to run"
required: true
type: string
branch:
description: "Branch to checkout"
required: false
default: main
type: string
regenerate-code:
description: "Regenerate code using smithy-dafny"
required: false
Expand Down Expand Up @@ -55,6 +60,7 @@ jobs:

- uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
submodules: recursive

- name: Setup Dafny
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/dafny_verify_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ name: Dafny Verify Version

on:
workflow_call:
inputs:
branch:
description: "Branch to checkout"
required: false
default: main
type: string
outputs:
version:
description: "The dafny version for verify"
Expand All @@ -21,6 +27,8 @@ jobs:
version: ${{ steps.read_property.outputs.dafnyVerifyVersion }}
steps:
- uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
- name: Read version from Properties-file
id: read_property
uses: christian-draeger/read-properties@1.1.1
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/dafny_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ name: Dafny Version

on:
workflow_call:
inputs:
branch:
description: "Branch to checkout"
required: false
default: main
type: string
outputs:
version:
description: "The dafny version"
Expand All @@ -21,6 +27,8 @@ jobs:
version: ${{ steps.read_property.outputs.dafnyVersion }}
steps:
- uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
- name: Read version from Properties-file
id: read_property
uses: christian-draeger/read-properties@1.1.1
Expand Down
54 changes: 54 additions & 0 deletions .github/workflows/daily_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,116 +19,170 @@ jobs:
id-token: write
# Don't run the cron builds on forks
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
strategy:
matrix:
branch: [main, v3.x-Java]
uses: ./.github/workflows/dafny_version.yml
with:
branch: ${{ matrix.branch }}
getVerifyVersion:
permissions:
contents: read
pull-requests: write
id-token: write
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
strategy:
matrix:
branch: [main, v3.x-Java]
uses: ./.github/workflows/dafny_verify_version.yml
with:
branch: ${{ matrix.branch }}
daily-ci-format:
permissions:
contents: read
pull-requests: write
id-token: write
needs: getVersion
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
strategy:
matrix:
branch: [main, v3.x-Java]
uses: ./.github/workflows/library_format.yml
with:
dafny: ${{needs.getVersion.outputs.version}}
branch: ${{ matrix.branch }}
daily-ci-codegen:
permissions:
contents: read
pull-requests: write
id-token: write
needs: getVersion
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
strategy:
matrix:
branch: [main, v3.x-Java]
uses: ./.github/workflows/ci_codegen.yml
with:
dafny: ${{needs.getVersion.outputs.version}}
branch: ${{ matrix.branch }}
daily-ci-verification:
permissions:
contents: read
pull-requests: write
id-token: write
needs: getVerifyVersion
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
strategy:
matrix:
branch: [main, v3.x-Java]
uses: ./.github/workflows/library_dafny_verification.yml
with:
dafny: ${{needs.getVerifyVersion.outputs.version}}
branch: ${{ matrix.branch }}
daily-ci-test-vector-verification:
permissions:
contents: read
pull-requests: write
id-token: write
needs: getVerifyVersion
strategy:
matrix:
branch: [main, v3.x-Java]
uses: ./.github/workflows/test_vector_verification.yml
with:
dafny: ${{needs.getVerifyVersion.outputs.version}}
branch: ${{ matrix.branch }}
daily-ci-java:
permissions:
contents: read
pull-requests: write
id-token: write
needs: getVersion
strategy:
matrix:
branch: [main, v3.x-Java]
uses: ./.github/workflows/ci_test_java.yml
with:
dafny: ${{needs.getVersion.outputs.version}}
branch: ${{ matrix.branch }}
daily-ci-java-test-vectors:
permissions:
contents: read
pull-requests: write
id-token: write
needs: getVersion
strategy:
matrix:
branch: [main, v3.x-Java]
uses: ./.github/workflows/ci_test_vector_java.yml
with:
dafny: ${{needs.getVersion.outputs.version}}
branch: ${{ matrix.branch }}
daily-ci-java-examples:
permissions:
contents: read
pull-requests: write
id-token: write
needs: getVersion
strategy:
matrix:
branch: [main, v3.x-Java]
uses: ./.github/workflows/ci_examples_java.yml
with:
dafny: ${{needs.getVersion.outputs.version}}
branch: ${{ matrix.branch }}
daily-ci-net:
permissions:
contents: read
pull-requests: write
id-token: write
needs: getVersion
strategy:
matrix:
branch: [main, v3.x-Java]
uses: ./.github/workflows/ci_test_net.yml
with:
dafny: ${{needs.getVersion.outputs.version}}
branch: ${{ matrix.branch }}
daily-ci-rust:
permissions:
contents: read
pull-requests: write
id-token: write
needs: getVersion
strategy:
matrix:
branch: [main, v3.x-Java]
uses: ./.github/workflows/library_rust_tests.yml
with:
dafny: ${{needs.getVersion.outputs.version}}
branch: ${{ matrix.branch }}
daily-ci-net-test-vectors:
permissions:
contents: read
pull-requests: write
id-token: write
needs: getVersion
strategy:
matrix:
branch: [main, v3.x-Java]
uses: ./.github/workflows/ci_test_vector_net.yml
with:
dafny: ${{needs.getVersion.outputs.version}}
branch: ${{ matrix.branch }}
daily-ci-net-examples:
permissions:
contents: read
pull-requests: write
id-token: write
needs: getVersion
strategy:
matrix:
branch: [main, v3.x-Java]
uses: ./.github/workflows/ci_examples_net.yml
with:
dafny: ${{needs.getVersion.outputs.version}}
branch: ${{ matrix.branch }}
notify:
permissions:
contents: read
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/library_dafny_verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
description: "The Dafny version to run"
required: true
type: string
branch:
description: "Branch to checkout"
required: false
default: main
type: string
regenerate-code:
description: "Regenerate code using smithy-dafny"
required: false
Expand Down Expand Up @@ -54,6 +59,7 @@ jobs:
steps:
- uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
submodules: recursive

- name: Setup Dafny
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/library_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
description: "The Dafny version to run"
required: true
type: string
branch:
description: "Branch to checkout"
required: false
default: main
type: string
regenerate-code:
description: "Regenerate code using smithy-dafny"
required: false
Expand Down Expand Up @@ -38,6 +43,7 @@ jobs:

- uses: actions/checkout@v6
with:
ref: ${{ inputs.branch }}
submodules: recursive

- name: Setup Dafny
Expand Down
Loading
Loading