Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/you54f/pact-cli-action
Pact CLI aka Pact Ruby Standalone as a GitHub action
https://github.com/you54f/pact-cli-action
action actions cli github-actions homebrew pact standalone
Last synced: about 7 hours ago
JSON representation
Pact CLI aka Pact Ruby Standalone as a GitHub action
- Host: GitHub
- URL: https://github.com/you54f/pact-cli-action
- Owner: YOU54F
- Created: 2022-10-29T15:12:41.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-15T19:06:13.000Z (12 months ago)
- Last Synced: 2024-11-06T16:24:51.410Z (about 2 months ago)
- Topics: action, actions, cli, github-actions, homebrew, pact, standalone
- Language: Shell
- Homepage:
- Size: 7.66 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pact ruby cli action
Pact standalone CLI
```yml
on:
workflow_dispatch:
push:
jobs:
test_cli_action:
strategy:
matrix:
os: [ubuntu-latest,windows-latest,macos-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
name: test pact cli action
steps:
- uses: actions/checkout@v3
- id: pact-cli
uses: you54f/paction@v1
- run: pact-broker.bat
if: runner.os == 'windows'
shell: cmd
- run: pact-broker
if: runner.os != 'windows'
shell: bash
```other ways you can download
```yml
name: Buildon:
push:
workflow_dispatch:jobs:
ubuntu:
runs-on: ubuntu-lateststeps:
- uses: actions/checkout@v3
- run: curl -fsSL https://raw.githubusercontent.com/pact-foundation/pact-ruby-standalone/master/install.sh | bash && pact/bin/pact help
- run: wget -q https://raw.githubusercontent.com/pact-foundation/pact-ruby-standalone/master/install.sh -O- | bash
- run: echo "PATH=${PATH}:${PWD}/pact/bin/" >> $GITHUB_ENV```
```yml
mac:
runs-on: macos-lateststeps:
- uses: actions/checkout@v3
- run: ./cli.sh
- run: |
brew tap pact-foundation/pact-ruby-standalone
brew install pact-ruby-standalone
pact help
shell: bash
- run: curl -fsSL https://raw.githubusercontent.com/pact-foundation/pact-ruby-standalone/master/install.sh | bash && pact/bin/pact help
- run: echo "PATH=${PATH}:${PWD}/pact/bin/" >> $GITHUB_ENV```