Skip to content

expect commit hash in test #792

expect commit hash in test

expect commit hash in test #792

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
- 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