From 72cdc3b1fc2aabeee84d0df9d2f2499953d42428 Mon Sep 17 00:00:00 2001 From: Chris Araman Date: Sun, 9 May 2021 13:25:36 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Lint=20in=20GitHub=20Actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-test.yml | 6 +++++- Makefile | 2 +- README.md | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index c2b4040..2599bff 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -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 diff --git a/Makefile b/Makefile index 1370e54..b5088bc 100644 --- a/Makefile +++ b/Makefile @@ -89,7 +89,7 @@ uninstall: script/uninstall .PHONY: format -lint: +format: script/format .PHONY: lint diff --git a/README.md b/README.md index b91f9e3..22faea5 100644 --- a/README.md +++ b/README.md @@ -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