Skip to content

Update latestRTTuistSimplifierPluginVersion #23

Update latestRTTuistSimplifierPluginVersion

Update latestRTTuistSimplifierPluginVersion #23

Workflow file for this run

name: Fourier
on:
push:
branches:
- main
pull_request:
paths:
- projects/fourier/**
- .github/workflows/fourier.yml
concurrency:
group: fourier-${{ github.head_ref }}
cancel-in-progress: true
env:
RUBY_VERSION: '3.0.3'
jobs:
tests:
name: Unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
- name: Install Bundler 2.1.4
run: gem install bundler --version 2.1.4
- 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: Unit tests
run: |
./fourier test fourier
lint:
name: Lint
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 fourier