diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c5d9237..6cf1e8b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,18 +1,28 @@ name: CI/CD -on: [push, pull_request] +on: + pull_request: + paths-ignore: + - '**/README.md' + push: + branches: + - main + paths-ignore: + - '**/README.md' jobs: build-snapshot: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: 1.17 - - name: Build - run: make + - uses: actions/checkout@v2 + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.17 + - name: Build + run: make + - name: Ensure unique version + run: make check-tag build-and-publish-release: if: github.ref == 'refs/heads/main' diff --git a/Makefile b/Makefile index a47fdbd..f3b5180 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION = 0.0.6 +VERSION = 0.0.7 SOURCE = ./... .DEFAULT_GOAL := build diff --git a/README.md b/README.md index f28d6a3..e1f6596 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ A Go-based CLI implementation of [Josh Wardle](https://powerlanguage.co.uk)'s [W Mac OS [homebrew](https://brew.sh/) users: ``` +brew tap mdb/homebrew-repo brew install wordle ``` @@ -55,4 +56,6 @@ make * Could https://github.com/rivo/tview enable some UI improvements? Or is that overkill? * Would it be cool to provide an option to output the final grid as an image, such that it could be shared? +* Would it be cool to provide an option to output stats? +* Would it be cool to restrict game play to once/day? * Would it be cool to restrict game play to once/day?