expect commit hash in test #792
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |