build(deps): update thiserror requirement from 1.0.63 to 2.0.3 in /flipt-engine-ffi #101
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 Swift SDK | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: write | |
id-token: write | |
jobs: | |
test: | |
name: Integration Tests | |
runs-on: macos-latest | |
steps: | |
- name: Checkout Sources | |
uses: actions/checkout@v4 | |
- name: Install Flipt | |
uses: flipt-io/setup-action@v0.2.0 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: 1.75.0 | |
override: true | |
- name: Install Swift | |
uses: swift-actions/setup-swift@v2 | |
with: | |
swift-version: "5.9" | |
- name: run flipt | |
env: | |
FLIPT_STORAGE_TYPE: "local" | |
FLIPT_STORAGE_LOCAL_PATH: "./test/fixtures/testdata" | |
run: flipt& | |
- name: Install Rust Targets | |
run: | | |
rustup target add aarch64-apple-ios x86_64-apple-ios aarch64-apple-ios-sim | |
- name: Build Engine | |
run: | | |
cd ./flipt-engine-ffi | |
./build.sh | |
cd .. | |
- name: Run Integration Tests | |
env: | |
FLIPT_URL: "http://0.0.0.0:8080" | |
FLIPT_AUTH_TOKEN: "secret" | |
run: | | |
cd ./flipt-client-swift | |
swift test |