Skip to content

Commit

Permalink
Update GH Actions' versions, specify SwiftLint version for Danger CI
Browse files Browse the repository at this point in the history
  • Loading branch information
p4checo committed Apr 16, 2024
1 parent 3584cac commit 38288fa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
RESULT_BUNDLE_PATH: build-test.xcresult
steps:
- name: git checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 2

Expand All @@ -58,7 +58,7 @@ jobs:
| xcbeautify
- name: codecov upload
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
xcode: true
xcode_archive_path: ${{ env.RESULT_BUNDLE_PATH }}
Expand All @@ -71,7 +71,7 @@ jobs:
SCHEME: "Alicerce (SPM)"
steps:
- name: git checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: install xcbeautify
run: brew install xcbeautify
Expand All @@ -90,7 +90,7 @@ jobs:
runs-on: macos-14-arm64
steps:
- name: git checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: ruby versions
run: |
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
runs-on: macos-14-arm64
steps:
- name: git checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: carthage build
run: ./script/carthage.sh build --cache-builds --no-skip-current
Expand All @@ -131,7 +131,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: git checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: create release
uses: softprops/action-gh-release@v1
Expand All @@ -150,7 +150,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: git checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: ruby versions
run: |
Expand All @@ -159,7 +159,7 @@ jobs:
bundler --version
- name: cache gems
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/danger-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ jobs:
name: Danger Swift
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Danger
uses: 417-72KI/danger-swiftlint@v3
uses: 417-72KI/danger-swiftlint@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SWIFTLINT_VERSION: 0.54.0

0 comments on commit 38288fa

Please sign in to comment.