[IDLE-000] 로깅전송 객체 리팩토링 #130
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: PR to [develop] | |
on: | |
pull_request: | |
branches: [ develop ] | |
#1. load mise | |
#2. cache tuist | |
#3. install tuist | |
#4. checkout tuist project repository | |
#5. fetch XCConfig from repository | |
#6. test tuist project | |
jobs: | |
test: | |
runs-on: macos-latest | |
env: | |
TUIST_VERSION: 4.12.1 | |
steps: | |
#1. load mise | |
- uses: jdx/mise-action@v2 | |
#2. cache tuist | |
- name: cache tuist | |
id: cache-tuist | |
uses: actions/cache@v4 | |
with: | |
path: /Users/runner/.local/share/mise/shims/tuist | |
key: ${{ runner.os }}-tuist@${{ env.TUIST_VERSION }} | |
#3. install tuist | |
- name: install tuist | |
if: steps.cache-tuist.outputs.cache-hit != 'true' | |
run: | | |
mise install tuist@${{ env.TUIST_VERSION }} | |
mise use -g tuist@${{ env.TUIST_VERSION }} | |
- name: install tree | |
run: brew install tree | |
- name: check paths | |
run: | | |
echo "tuist in installed in $(which tuist)" | |
echo "tree in installed in $(which tree)" | |
#4. checkout tuist project repository | |
- name: checkout project | |
uses: actions/checkout@v4 | |
#5. fetch XCConfig from repository | |
- name: fetch Secrets | |
uses: actions/checkout@v4 | |
with: | |
repository: ${{ secrets.XCCONFIG_REPO }} | |
token: ${{ secrets.XCCONFIG_REPO_TOKEN }} | |
path: '${{ github.workspace }}/project/Secrets' | |
- name: check secret files | |
run: | | |
echo "Checking configurations are loaded..." | |
tree ${{ github.workspace }}/project/Secrets | |
#6. test tuist project | |
- name: Test project | |
run: | | |
cd project | |
tuist install | |
make test | |