chore(deps): update actions/checkout action to v6 #190
Workflow file for this run
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: | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| test: | |
| name: Docker build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build image | |
| run: docker build -t test . | |
| - name: Run image | |
| run: docker run -d --name apache test | |
| - name: Verify | |
| run: | | |
| [ $(docker inspect apache --format='{{.State.Running}}') = 'true' ] |