Skip to content

feat(TestModels): MultipleModels (#309) #1

feat(TestModels): MultipleModels (#309)

feat(TestModels): MultipleModels (#309) #1

Workflow file for this run

# This workflow runs for every push to main-1.x
name: Push CI
on:
push:
branches:
- main-1.x
jobs:
pr-populate-dafny-versions:
runs-on: ubuntu-latest
steps:
- name: Populate Dafny versions list
id: populate-dafny-versions-list
run: echo "dafny-versions-list=['4.1.0', '4.3.0']" >> $GITHUB_OUTPUT
outputs:
dafny-version-list: ${{ steps.populate-dafny-versions-list.outputs.dafny-versions-list }}
push-ci-verification:
needs: pr-populate-dafny-versions
strategy:
fail-fast: false
matrix:
dafny-version: ${{ fromJson(needs.pr-populate-dafny-versions.outputs.dafny-version-list) }}
uses: ./.github/workflows/test_models_dafny_verification.yml
with:
dafny: ${{ matrix.dafny-version }}
push-ci-java:

Check failure on line 28 in .github/workflows/push.yml

View workflow run for this annotation

GitHub Actions / Push CI

Invalid workflow file

The workflow is not valid. .github/workflows/push.yml (Line: 28, Col: 3): Error calling workflow 'ShubhamChaturvedi7/smithy-dafny/.github/workflows/test_models_java_tests.yml@07b8dfe9d5d8d10233e86e6f850d9c4fded966c0'. The nested job 'testJava' is requesting 'id-token: write', but is only allowed 'id-token: none'.
needs: pr-populate-dafny-versions
strategy:
fail-fast: false
matrix:
dafny-version: ${{ fromJson(needs.pr-populate-dafny-versions.outputs.dafny-version-list) }}
uses: ./.github/workflows/test_models_java_tests.yml
with:
dafny: ${{ matrix.dafny-version }}
push-ci-net:
needs: pr-populate-dafny-versions
strategy:
fail-fast: false
matrix:
dafny-version: ${{ fromJson(needs.pr-populate-dafny-versions.outputs.dafny-version-list) }}
uses: ./.github/workflows/test_models_net_tests.yml
with:
dafny: ${{ matrix.dafny-version }}