Skip to content
name: 'lint and build dev container'
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- main
jobs:
build-and-test:
concurrency:
group: "${{ github.workflow }} @ ${{ github.ref }}"
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Pre-build dev container image
uses: devcontainers/ci@v0.3
with:

Check failure on line 28 in .github/workflows/lint-and-build-and-test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/lint-and-build-and-test.yml

Invalid workflow file

You have an error in your yaml syntax on line 28
imageName: ghcr.io/centre-for-humanities-computing/danish-foundation-models-devcontainer
cacheFrom: ghcr.io/centre-for-humanities-computing/danish-foundation-models-devcontainer
push: filter
refFilterForPush: refs/heads/main
runCmd:
git init && # Init git for pre-commit
make validate