feat: init Open Feature provider #15
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: Pull Request | |
on: | |
pull_request: | |
paths-ignore: | |
- '*.md' | |
- '.github/**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint_swift: | |
runs-on: macos-15-xlarge | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install bootstrap mint | |
uses: irgaly/setup-mint@99eaad2ad1197ea872390322a47620da2f21fde4 # v1.4.0 | |
with: | |
bootstrap: true | |
use-cache: true | |
- name: Lint swift | |
run: mint run swiftlint --strict | |
generate-xcode-project: | |
uses: ./.github/workflows/generate-xcode-project.yml | |
build: | |
needs: generate-xcode-project | |
runs-on: macos-15-xlarge | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Download xcode project file | |
uses: actions/download-artifact@v4 | |
with: | |
name: output-xcodeproj-file | |
path: ./BucketeerOpenFeatureProvider.xcodeproj | |
- name: Build | |
env: | |
CI: true | |
run: make build | |
test: | |
needs: generate-xcode-project | |
runs-on: macos-15-xlarge | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Download xcode project file | |
uses: actions/download-artifact@v4 | |
with: | |
name: output-xcodeproj-file | |
path: ./BucketeerOpenFeatureProvider.xcodeproj | |
- name: Build for testing | |
env: | |
CI: true | |
run: make build-for-testing | |
- name: Unit Test | |
run: make test-without-building |