Skip to content

GitHub Actions Code Formatter workflow #19

GitHub Actions Code Formatter workflow

GitHub Actions Code Formatter workflow #19

Workflow file for this run

---
name: Development Container
on:
pull_request:
branches:
- main
paths:
- .github/workflows/devcontainer.yml
- .devcontainer/**
permissions: {}
env:
DEVCONTAINER_CLI_VERSION: latest
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
id: checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install devcontainers/cli
id: install_devcontainer_cli
run: npm install -g @devcontainers/cli@${{ env.DEVCONTAINER_CLI_VERSION }}
- name: devcontainer build
id: devcontainer_build
run: devcontainer build --workspace-folder .