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 sglahn/platformio-core run: | docker run --rm \ --mount type=bind,source="$(pwd)",target=/workspace \ -w /workspace \ sglahn/platformio-core:latest run