Merge pull request #15 from sudo-kraken/renovate/major-github-artifac… #28
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
| # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
| name: Devcontainer Smoke Test | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| concurrency: | |
| group: devcontainer-smoke-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| smoke: | |
| name: Smoke Test Dev Container | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
| - name: Build devcontainer | |
| uses: devcontainers/ci@8bf61b26e9c3a98f69cb6ce2f88d24ff59b785c6 # v0.3 | |
| with: | |
| push: never | |
| runCmd: echo "container up" | |
| - name: Verify Terraform in devcontainer | |
| uses: devcontainers/ci@8bf61b26e9c3a98f69cb6ce2f88d24ff59b785c6 # v0.3 | |
| with: | |
| push: never | |
| runCmd: | | |
| bash -lc ' | |
| set -euo pipefail | |
| echo "Terraform version" | |
| terraform version | |
| echo "OK: Terraform is working in devcontainer" | |
| ' |