diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 32a2240..d58fff7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,7 +4,7 @@ on: push: branches: [ main ] env: - DEVELOPER_DIR: /Applications/Xcode_12.app/Contents/Developer + DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer GITHUB_TOKEN: ${{ secrets.PAT }} jobs: diff --git a/.github/workflows/test_action.yml b/.github/workflows/test_action.yml index 42f708a..0d7ba97 100644 --- a/.github/workflows/test_action.yml +++ b/.github/workflows/test_action.yml @@ -4,7 +4,7 @@ on: push: branches: [ action ] env: - DEVELOPER_DIR: /Applications/Xcode_11.4.app/Contents/Developer + DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer GITHUB_TOKEN: ${{ secrets.PAT }} jobs: @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: arthurpalves/coherent-swift@0.5.9 + - uses: arthurpalves/coherent-swift@0.5.10 with: source: Sources/ minimum_threshold: 60 diff --git a/action.yml b/action.yml index 0158d66..f0d12b3 100644 --- a/action.yml +++ b/action.yml @@ -46,9 +46,9 @@ runs: shell: bash run: | cd ${{ github.action_path }} - make githubci-install + make githubci-install if [[ ${{ inputs.only_changes }} == 'true' ]]; then - swift run coherent-swift report -d -s _coherent-swift.yml + coherent-swift report -d -s _coherent-swift.yml else - swift run coherent-swift report -s _coherent-swift.yml + coherent-swift report -s _coherent-swift.yml fi