Skip to content

[fix] #29 mise 설치코드 수정 #7

[fix] #29 mise 설치코드 수정

[fix] #29 mise 설치코드 수정 #7

Workflow file for this run

# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: feature-test
on:
push:
branches: [ "feature/*" ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
with:
version: 2023.12.0 # [default: latest] mise version to install
install: true # [default: true] run `mise install`
cache: true # [default: true] cache mise using GitHub's cache
# automatically write this .tool-versions file
experimental: true # [default: false] enable experimental features
tool_versions: |
shellcheck 0.9.0
# or, if you prefer .mise.toml format:
mise_toml: |
[tools]
shellcheck = "0.9.0"
- run: shellcheck scripts/*.sh
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.0'
- name: initial tuist
run: mise install tuist
- name: generate project
# - run: expect <<EOF
# set timeout -1
# spawn make generate
# expect "GitHub access token값을 입력 해주세요: "
# send -- "$env(GITHUB_ACCESS_TOKEN)\r"
# expect eof
# EOF
run: make generate
# env:
# GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_ACCESS_TOKEN }}
- name: Build
run: |
xcodebuild \
-workspace Pokit.xcworkspace \
-scheme Pokit \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone 15 pro,OS=16.0' build