Add support of version #7
This file contains 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 feature | |
on: | |
push: | |
branches: "main" | |
paths-ignore: | |
- .gitignore | |
- LICENSE | |
- README.md | |
- .github/** | |
- "!.github/workflows/test-feature.yml" | |
pull_request: | |
paths-ignore: | |
- .gitignore | |
- LICENSE | |
- README.md | |
- .github/** | |
- "!.github/workflows/test-feature.yml" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test-feature: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- image: mcr.microsoft.com/devcontainers/base:ubuntu | |
- image: debian:bookworm-slim | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: npm install -g @devcontainers/cli | |
- run: bash test.sh "$IMAGE" "$OPTIONS" | |
env: | |
IMAGE: ${{ matrix.image }} | |
OPTIONS: ${{ matrix.options }} |