Merge pull request #82 from pact-foundation/chore/upgrade-macos-12 #750
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: Pact Plugin CLI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ ubuntu-latest, windows-latest, macos-13 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
components: clippy | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v3 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build plugin CLI | |
run: cargo build | |
working-directory: cli | |
- name: Tests | |
run: cargo test | |
working-directory: cli | |
- name: Test installing plugin | |
run: ./target/debug/pact-plugin-cli -y -d install csv | |
working-directory: cli |