mirror of
https://github.com/mas-cli/mas
synced 2024-11-21 11:13:06 +00:00
🧹 Lint in GitHub Actions
This commit is contained in:
parent
0a7dc300f2
commit
72cdc3b1fc
3 changed files with 7 additions and 3 deletions
6
.github/workflows/build-test.yml
vendored
6
.github/workflows/build-test.yml
vendored
|
@ -3,7 +3,7 @@
|
|||
#
|
||||
# https://docs.github.com/en/actions/reference/environment-variables#default-environment-variables
|
||||
|
||||
name: Build & Test
|
||||
name: Build, Test, and Lint
|
||||
|
||||
on: [push]
|
||||
|
||||
|
@ -11,6 +11,7 @@ jobs:
|
|||
build-test:
|
||||
|
||||
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
|
||||
name: Build, Test, and Lint
|
||||
runs-on: macOS-latest
|
||||
steps:
|
||||
|
||||
|
@ -31,3 +32,6 @@ jobs:
|
|||
|
||||
- name: Test
|
||||
run: script/test
|
||||
|
||||
- name: Lint
|
||||
run: script/lint
|
||||
|
|
2
Makefile
2
Makefile
|
@ -89,7 +89,7 @@ uninstall:
|
|||
script/uninstall
|
||||
|
||||
.PHONY: format
|
||||
lint:
|
||||
format:
|
||||
script/format
|
||||
|
||||
.PHONY: lint
|
||||
|
|
|
@ -8,7 +8,7 @@ A simple command line interface for the Mac App Store. Designed for scripting an
|
|||
[![Swift 5](https://img.shields.io/badge/Language-Swift_5-orange.svg)](https://swift.org)
|
||||
[![GitHub Release](https://img.shields.io/github/release/mas-cli/mas.svg)](https://github.com/mas-cli/mas/releases)
|
||||
[![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com)
|
||||
[![Build & Test](https://github.com/mas-cli/mas/actions/workflows/build-test.yml/badge.svg?branch=main)](https://github.com/mas-cli/mas/actions/workflows/build-test.yml?query=branch%3Amain)
|
||||
[![Build, Test, & Lint](https://github.com/mas-cli/mas/actions/workflows/build-test.yml/badge.svg?branch=main)](https://github.com/mas-cli/mas/actions/workflows/build-test.yml?query=branch%3Amain)
|
||||
|
||||
## 📲 Install
|
||||
|
||||
|
|
Loading…
Reference in a new issue