mirror of
https://github.com/mas-cli/mas
synced 2025-02-16 12:38:30 +00:00
👷🏻 Set name of build-test job
This commit is contained in:
parent
b735bcbb6f
commit
8dd72139a1
1 changed files with 14 additions and 0 deletions
14
.github/workflows/build-test.yml
vendored
14
.github/workflows/build-test.yml
vendored
|
@ -4,17 +4,24 @@
|
|||
# https://docs.github.com/en/actions/reference/environment-variables#default-environment-variables
|
||||
---
|
||||
name: Build, Test, and Lint
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build-test:
|
||||
name: Build, Test, and Lint
|
||||
|
||||
# https://github.com/actions/runner-images#available-images
|
||||
runs-on: macos-15
|
||||
|
||||
defaults:
|
||||
run:
|
||||
# Prefixes all `run` commands with the following command to force them to run outside Rosetta.
|
||||
|
@ -22,14 +29,21 @@ jobs:
|
|||
# https://github.com/rolpdog/cffi-mirror/blob/release-1.15/.github/workflows/ci.yaml#L81-L141
|
||||
# https://github.com/actions/virtual-environments/issues/2187#issuecomment-790507204
|
||||
shell: arch -arm64 bash --noprofile --norc -eo pipefail {0}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
# A fetch-depth of 0 includes all history and tags for script/version
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Bootstrap
|
||||
run: script/bootstrap -f
|
||||
|
||||
- name: Build
|
||||
run: script/build
|
||||
|
||||
- name: Test
|
||||
run: script/test
|
||||
|
||||
- name: Lint
|
||||
run: script/lint
|
||||
|
|
Loading…
Add table
Reference in a new issue