name: Build PlatformIO with Docker on: push: branches: [ main ] jobs: build: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v3 - name: Build with PlatformIO Docker image run: | docker run --rm \ -v "$(pwd)":/workspace \ -w /workspace \ -u root \ sglahn/platformio-core:latest run