diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d09678a..79c9627 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,29 +24,19 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - - - name: Cache pip - uses: actions/cache@v2 with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip- - - - name: Cache PlatformIO - uses: actions/cache@v2 - with: - path: ~/.platformio - key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }} + submodules: "recursive" - name: Set up Python - uses: actions/setup-python@v2 - + uses: actions/setup-python@v3 + with: + python-version: "3.9" + - name: Install PlatformIO run: | - python -m pip install --upgrade pip - pip install --upgrade platformio - + pip install -U https://github.com/platformio/platformio/archive/develop.zip + pio pkg install --global --platform symlink://. + - name: Build run: | pio run