soundness.yml 1006 B

12345678910111213141516171819202122232425262728293031323334353637
  1. name: Soundness
  2. on:
  3. workflow_call:
  4. jobs:
  5. swift-license-check:
  6. name: Swift license headers check
  7. runs-on: ubuntu-latest
  8. steps:
  9. - name: Checkout repository
  10. uses: actions/checkout@v4
  11. with:
  12. persist-credentials: false
  13. - name: Mark the workspace as safe
  14. run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
  15. - name: Run license check
  16. run: |
  17. ./dev/license-check.sh
  18. check-generated-code:
  19. name: Check generated code
  20. runs-on: ubuntu-latest
  21. container:
  22. image: swift:latest
  23. steps:
  24. - name: Checkout repository
  25. uses: actions/checkout@v4
  26. with:
  27. persist-credentials: false
  28. - name: Mark the workspace as safe
  29. run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
  30. - name: Install protoc
  31. run: apt update && apt install -y protobuf-compiler
  32. - name: Check generated code
  33. run: |
  34. ./dev/check-generated-code.sh