2
0
Fork 0
mirror of https://github.com/mas-cli/mas synced 2025-03-05 07:07:15 +00:00

Select Xcode 16.2 in GitHub workflows.

Improve GitHub workflow step names.

Partial 

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
This commit is contained in:
Ross Goldberg 2025-01-15 14:55:37 -05:00
parent 0fa125265c
commit 3ac67a66b5
No known key found for this signature in database
3 changed files with 18 additions and 14 deletions

View file

@ -21,7 +21,7 @@ jobs:
# Force all run commands to not use Rosetta 2
shell: arch -arm64 /bin/zsh -Negku {0}
steps:
- name: Checkout
- name: 🛒 Checkout repo
env:
GIT_CONFIG_COUNT: 1
GIT_CONFIG_KEY_0: init.defaultBranch
@ -31,17 +31,20 @@ jobs:
# Include all history & tags for script/version
fetch-depth: 0
- name: Setup repo
- name: 🔧 Setup repo
run: script/setup_workflow_repo
- name: Bootstrap
- name: 🛠 Select Xcode 16.2
run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
- name: 👢 Bootstrap
run: script/bootstrap
- name: Build
- name: 🏗 Build
run: script/build build-test
- name: Test
- name: 🧪 Test
run: script/test
- name: Lint
- name: 🚨 Lint
run: script/lint

View file

@ -27,7 +27,7 @@ jobs:
- language: swift
build-mode: manual
steps:
- name: Checkout repository
- name: 🛒 Checkout repo
env:
GIT_CONFIG_COUNT: 1
GIT_CONFIG_KEY_0: init.defaultBranch
@ -37,23 +37,23 @@ jobs:
# Include all history & tags for script/version
fetch-depth: 0
- name: Setup repo
- name: 🔧 Setup repo
run: script/setup_workflow_repo
- name: Initialize CodeQL
- name: 🔩 Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{matrix.language}}
build-mode: ${{matrix.build-mode}}
queries: ${{matrix.language == 'swift' && '+security-and-quality' || ''}}
- name: Build Swift
- name: 🏗 Build Swift
if: matrix.language == 'swift'
shell: bash
run: |
script/build codeql
- name: Perform CodeQL Analysis
- name: 🔍 Perform CodeQL analysis
uses: github/codeql-action/analyze@v3
with:
category: /language:${{matrix.language}}

View file

@ -60,10 +60,11 @@ jobs:
exit 3
fi
- name: 🛠 Select Xcode 16.2
run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
- name: 📦 Build universal executable & package it in an installer
run: |
sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
script/package package
run: script/package package
- name: 🚰 Bump custom tap formula
env: