Skip to content

Allow specifying Package.resolved path insted of always defaulting to the file in the root of the repository #862

Allow specifying Package.resolved path insted of always defaulting to the file in the root of the repository

Allow specifying Package.resolved path insted of always defaulting to the file in the root of the repository #862

Workflow file for this run

name: "Test action"
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-14]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run action with branch
uses: ./
with:
url: https://github.com/cpisciotta/xcbeautify
branch: main
- name: Run action with Package.resolved
uses: ./
with:
url: https://github.com/nicklockwood/SwiftFormat
package-resolved-path: 'tests/Package.resolved'
- name: Run action with version
uses: ./
with:
url: https://github.com/realm/SwiftLint
version: '*'
- name: Run action with commit hash
uses: ./
with:
url: https://github.com/wvteijlingen/localize-xibs
commit: '73ae709f7bc235d5edf2a90b9c9fa3e5ef037781'
- name: Test tools in path
run: |
echo "class Test {}" > ./test.swift
swiftformat --lint ./test.swift
xcbeautify --version
swiftlint lint ./test.swift
localize-xibs --help