Skip to content

Commit

Permalink
👷 (tools): Add workflow to upgrade tools
Browse files Browse the repository at this point in the history
  • Loading branch information
ladislas committed Oct 21, 2023
1 parent ea759e5 commit c9cb937
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/ci-tools-upgrade.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Leka - iOS Monorepo
# Copyright 2023 APF France handicap
# SPDX-License-Identifier: Apache-2.0

name: Upgrade tools

on:
pull_request:
types: [labeled]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
upgrade_tools:
if: contains(github.event.label.name, 'ci:upgrade_tools')
name: Upgrade tools
runs-on: [self-hosted, iOS]

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1 # shallow clone

- name: Tools' versions
run: |
which fastlane
fastlane --version
which tuist
tuist --version
which swiftlint
swiftlint --version
which swiftformat
swiftformat --version
which bundle
bundle --version
- name: Upgrade brew
run: |
brew update
brew upgrade
brew cleanup -s --prune=all
- name: Upgrade bundle
run: |
bundle update --bundler

0 comments on commit c9cb937

Please sign in to comment.