Skip to content

Update dependency realm/SwiftLint to v0.57.1 #245

Update dependency realm/SwiftLint to v0.57.1

Update dependency realm/SwiftLint to v0.57.1 #245

Workflow file for this run

name: Linux
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
linux-test-build-release:
runs-on: ubuntu-latest
strategy:
matrix:
swift: ["latest"]
container:
image: swift:${{ matrix.swift }}
steps:
- name: Checkout
uses: actions/[email protected]
- name: APT cache
uses: actions/[email protected]
with:
path: /var/cache/apt
key: ${{ runner.os }}-apt
- name: Restore cached SPM dependencies
uses: actions/[email protected]
with:
path: .build
key: swiftpm-${{ runner.os }}-${{ inputs.swift-version }}-${{ hashFiles('Package.swift') }}
restore-keys: |
swiftpm-${{ runner.os }}-${{ inputs.swift-version }}-
swiftpm-${{ runner.os }}-
- name: Install dependencies
run: |
apt update
apt install -y libsdl2-dev
- name: Build & Test
run: swift test -c release
- name: Upload artifacts
if: always()
uses: actions/[email protected]
with:
name: build-artifacts-linux-${{ matrix.swift }}-${{ github.run_id }}
path: |
.build/*.yaml
.build/*.xml
.build/*.json
.build/*.txt
.build/**/*.json
.build/**/*.txt
.build/**/*.a
.build/**/*.dSYM
.build/**/*.gdb
.build/**/*.xctest
.build/**/*.bundle
.build/**/MetalApp
.build/**/Minimal
if-no-files-found: warn
include-hidden-files: true