🧹 Lint in GitHub Actions

This commit is contained in:
Chris Araman 2021-05-09 13:25:36 -07:00
parent 0a7dc300f2
commit 72cdc3b1fc
No known key found for this signature in database
GPG key ID: BB4499D9E11B61E0
3 changed files with 7 additions and 3 deletions

View file

@ -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

View file

@ -89,7 +89,7 @@ uninstall:
script/uninstall
.PHONY: format
lint:
format:
script/format
.PHONY: lint

View file

@ -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