Skip to content

Bump the github-actions group with 2 updates (#42) #26

Bump the github-actions group with 2 updates (#42)

Bump the github-actions group with 2 updates (#42) #26

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: SwiftLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: norio-nomura/action-swiftlint@9f4dcd7fd46b4e75d7935cf2f4df406d5cae3684 # 3.2.1
test-macos:
name: Test · macOS
runs-on: macos-15
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Test
run: swift test -v
test-ios:
name: Test · iOS ${{ matrix.os }}
runs-on: macos-15
strategy:
fail-fast: false
matrix:
include:
- xcode: "16.4"
os: "18.5"
- xcode: "26.3"
os: "26.2"
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Test
run: |
xcodebuild test \
-scheme SlidableImage \
-destination 'platform=iOS Simulator,name=iPhone 16,OS=${{ matrix.os }}' \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGNING_ALLOWED=NO