chore: Bump actions/checkout from 4.2.0 to 4.2.1 (#6) #11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| test-example: | |
| name: Test Example | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout Project | |
| uses: actions/checkout@v4.2.1 | |
| with: | |
| submodules: recursive | |
| - name: Assert Git Submodules | |
| run: | | |
| ACTUAL=$(git submodule status --recursive) | |
| EXPECTED=" bea29a84b6c55a49fef34be3e7a17498c633b6d9 project-starter (v1.2.0)" | |
| if [ "$ACTUAL" != "$EXPECTED" ]; then | |
| echo "actual: $ACTUAL" | |
| echo "expected: $EXPECTED" | |
| exit 1 | |
| fi |