Skip to content

tech: Fix CI workflow #133

tech: Fix CI workflow

tech: Fix CI workflow #133

Workflow file for this run

name: "CI"
on:
push:
branches:
- 'legacy/**'
jobs:
test:
name: "Build & Test"
runs-on: ubuntu-latest
strategy:
fail-fast: true
concurrency:
group: pactswiftmockserver-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: fwal/setup-swift@v1
- name: "Check swift version"
run: swift --version
- name: "⬇️ Checkout repository"
uses: actions/checkout@v4
- name: "Install Protoc"
uses: arduino/setup-protoc@v1
- name: "♼ Cache rust binaries"
uses: actions/cache@v3
with:
path: |
pact-reference
key: build-${{ runner.os }}-rust-bin-${{ hashFiles('**/libpact_ffi.version') }}
restore-keys: |
build-${{ runner.os }}-rust-bin
build-${{ runner.os }}-rust-
- name: "⚗️ Build and Test"
run: |
Support/build_test_linux