diff --git a/.github/workflows/test_ufbt.yml b/.github/workflows/test_ufbt.yml index 6cadc7e..dba88c0 100644 --- a/.github/workflows/test_ufbt.yml +++ b/.github/workflows/test_ufbt.yml @@ -1,4 +1,4 @@ -name: Run tests for ufbt action +name: Testsuite on: workflow_call: @@ -22,10 +22,10 @@ on: jobs: test-ufbt-action: runs-on: ubuntu-latest - name: Test ufbt action + name: Test action steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup ufbt uses: ./ # Uses an action in the root directory diff --git a/.github/workflows/test_with_dev.yml b/.github/workflows/test_with_dev.yml index 3065ff3..47968df 100644 --- a/.github/workflows/test_with_dev.yml +++ b/.github/workflows/test_with_dev.yml @@ -1,4 +1,4 @@ -name: Test ufbt action with dev SDK +name: Action tests on: push: @@ -11,7 +11,7 @@ on: jobs: run-test-on-latest: - name: Test ufbt action with dev SDK + name: Using dev sdk uses: ./.github/workflows/test_ufbt.yml with: ufbt-version: prerelease diff --git a/README.md b/README.md index ed17682..8ff31b6 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,9 @@ jobs: name: 'ufbt: Build for Dev branch' steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build with ufbt - uses: flipperdevices/flipperzero-ufbt-action@v0.1.2 + uses: flipperdevices/flipperzero-ufbt-action@v0.1 id: build-app with: # Set to 'release' to build for latest published release version @@ -43,7 +43,7 @@ jobs: path: ${{ steps.build-app.outputs.fap-artifacts }} # You can remove this step if you don't want to check source code formatting - name: Lint sources - uses: flipperdevices/flipperzero-ufbt-action@v0.1.2 + uses: flipperdevices/flipperzero-ufbt-action@v0.1 with: # skip SDK setup, we already did it in previous step skip-setup: true @@ -83,9 +83,9 @@ jobs: name: 'ufbt: Build for ${{ matrix.name }}' steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build with ufbt - uses: flipperdevices/flipperzero-ufbt-action@v0.1.2 + uses: flipperdevices/flipperzero-ufbt-action@v0.1 id: build-app with: sdk-channel: ${{ matrix.sdk-channel }} diff --git a/action.yml b/action.yml index f058bee..bd47694 100644 --- a/action.yml +++ b/action.yml @@ -102,7 +102,7 @@ runs: using: composite steps: - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v4 if: inputs.skip-setup == 'false' with: python-version: '3.11' @@ -111,13 +111,13 @@ runs: if: inputs.skip-setup == 'false' shell: bash run: | - python -m pip install --upgrade pip + python3 -m pip install --upgrade pip if [ "${{ inputs.ufbt-version }}" == "prerelease" ]; then - pip install --upgrade --pre ufbt + python3 -m pip install --upgrade --pre ufbt elif [ "${{ inputs.ufbt-version }}" == "latest" ]; then - pip install --upgrade ufbt + python3 -m pip install --upgrade ufbt else - pip install --upgrade ufbt${{ inputs.ufbt-version }} + python3 -m pip install --upgrade ufbt${{ inputs.ufbt-version }} fi - name: Update ufbt