Skip to content

Update latestRTTuistSimplifierPluginVersion #24

Update latestRTTuistSimplifierPluginVersion

Update latestRTTuistSimplifierPluginVersion #24

Workflow file for this run

name: Meta Tuist
on:
push:
branches:
- main
pull_request:
paths:
- Tuist/**
- Package.resolved
- Gemfile*
- Package.swift
- Project.swift
- Sources/**
- Tests/**
- projects/tuist/features/**
- projects/tuist/fixtures/**
- .package.resolved
- projects/fourier/**
- .github/workflows/meta-tuist.yml
concurrency:
group: meta-tuist-${{ github.head_ref }}
cancel-in-progress: true
env:
RUBY_VERSION: '3.0.3'
TUIST_STATS_OPT_OUT: true
TUIST_CONFIG_CLOUD_TOKEN: ${{ secrets.TUIST_CONFIG_CLOUD_TOKEN }}
jobs:
build:
name: Build with Xcode
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- name: Select Xcode
run: sudo xcode-select -switch /Applications/Xcode_$(cat .xcode-version).app
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
- uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-${{ env.RUBY_VERSION }}-gems-${{ hashFiles('Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.RUBY_VERSION }}-gems-
- name: Bundle install
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Build
run: |
./fourier build tuist all
generate:
name: Generate with Xcode
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- name: Select Xcode
run: sudo xcode-select -switch /Applications/Xcode_$(cat .xcode-version).app
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
- uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-${{ env.RUBY_VERSION }}-gems-${{ hashFiles('Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.RUBY_VERSION }}-gems-
- name: Bundle install
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Generate
run: |
./fourier generate tuist --targets tuist
test:
name: Test with Xcode
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- name: Select Xcode
run: sudo xcode-select -switch /Applications/Xcode_$(cat .xcode-version).app
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
- uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-${{ env.RUBY_VERSION }}-gems-${{ hashFiles('Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.RUBY_VERSION }}-gems-
- name: Bundle install
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Test
run: |
./fourier test tuist unit
lint-lockfiles:
name: Lint lockfiles
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- name: Select Xcode
run: sudo xcode-select -switch /Applications/Xcode_$(cat .xcode-version).app
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
- uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-${{ env.RUBY_VERSION }}${{ hashFiles('Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.RUBY_VERSION }}-gems-
- name: Bundle install
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Install Bundler dependencies
run: bundle install
- name: Run
run: ./fourier lint lockfiles