Skip to content

Commit

Permalink
feat: add check to see if generated code is current
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Yuan committed May 10, 2024
1 parent 4b045a4 commit 896bd9c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,8 @@ jobs:
- name: Clean and Build
run: ./gradlew clean build -Plog-tests

- name: Ensure there are no changes after building (e.g. the Weather SDK)
run: |
git diff
test -z "$(git diff)"
8 changes: 4 additions & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: CI

on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
workflow_run:
workflows: ['Codegen', 'Lint']
types:
- completed

env:
AWS_SWIFT_SDK_USE_LOCAL_DEPS: 1
Expand Down

0 comments on commit 896bd9c

Please sign in to comment.