Replace deprecated danger-swift-with-swiftlint docker image

This commit is contained in:
Stefan Ceriu 2024-04-15 09:32:13 +03:00 committed by Stefan Ceriu
parent d6b5c07ee6
commit 48b06519f9
2 changed files with 10 additions and 9 deletions

View File

@ -5,17 +5,18 @@ on: [pull_request]
jobs:
build:
name: Danger
runs-on: ubuntu-latest
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ~/.danger-swift
key: danger-swift-cache-key
- name: Setup environment
run:
brew install danger/tap/danger-swift
- name: Danger
uses: docker://ghcr.io/danger/danger-swift-with-swiftlint:3.15.0
env:
run:
danger-swift ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -7,7 +7,7 @@ on:
jobs:
open-translations-pr:
runs-on: macos-13
runs-on: macos-14
# Skip in forks
if: github.repository == 'element-hq/element-x-ios'
steps: