Skip to content

chore: Add devcontainer prebuild with GitHub Actions and GitLab CI/CD. #4

chore: Add devcontainer prebuild with GitHub Actions and GitLab CI/CD.

chore: Add devcontainer prebuild with GitHub Actions and GitLab CI/CD. #4

Workflow file for this run

name: DevContainer
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
prebuild:

Check failure on line 6 in .github/workflows/devcontainer.yml

View workflow run for this annotation

GitHub Actions / DevContainer

Invalid workflow file

The workflow is not valid. .github/workflows/devcontainer.yml (Line: 6, Col: 3): The workflow must contain at least one job with no dependencies.
needs: release
permissions:
contents: read
packages: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: docker/login-action@v3
with:
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
username: ${{ github.actor }}
- env:
PYTHON_VERSION: ${{ matrix.python-version }}
uses: devcontainers/ci@v0.3
with:
imageName: ghcr.io/${{ github.repository }}
imageTag: ${{ matrix.python-version }}
push: always
subFolder: .devcontainer/prebuild
strategy:
matrix:
python-version:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
on:
pull_request:
types:
- opened
- synchronize
push:
branches:
- main