Skip to content

ci(workflow): Add emojis to each jobs #89

ci(workflow): Add emojis to each jobs

ci(workflow): Add emojis to each jobs #89

Workflow file for this run

name: 🧪 Test
on:
push:
branches:
- main
paths:
- setup
- .github/workflows/test.yml
pull_request:
paths:
- setup
- .github/workflows/test.yml
jobs:
test:
name: ${{ startsWith(matrix.os, 'macOS') && '🍎' || '🐧' }} ${{ matrix.os }}
strategy:
matrix:
os: [Ubuntu-Latest, macOS-14]
runs-on: ${{ matrix.os }}
steps:
- name: 🍺 Setup Homebrew
id: setup-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: 🔨 Install tools via Homebrew
run: |
rm -fv /Library/Frameworks/Python.framework/Versions/3.12/bin/{2to3-3.12,idle3.12,pydoc3.12,python3.12,python3.12-config}
brew install atuin gitlint mackup mise pre-commit sheldon vim zoxide zsh
- name: 🍎 Install macOS tools via Homebrew
if: ${{ matrix.os == 'macOS-14' }}
run: brew install 5ouma/formula/mksei 5ouma/formula/mli blacktop/tap/lporg zackelia/formulae/bclm
- name: ⚙️ Run setup
env:
SETUP_SKIP_INSTALLAPPS: true
SETUP_SKIP_LOGINGITHUBCLI: true
SETUP_SKIP_RESTORELAUNCHPAD: true
run: zsh <(curl "https://dotup.deno.dev/${GITHUB_HEAD_REF:-HEAD}") --yes
- name: 🐚 Launch New Login Shell
run: exec zsh -ilexc exit