add wofi example to readme (#95) #129
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Lint and test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
- name: Lint | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
version: v1.54 | |
- name: Test | |
run: go test ./... | |
release-please: | |
name: Run Release Please | |
runs-on: ubuntu-latest | |
needs: [test] | |
outputs: | |
release_created: ${{ steps.release.outputs.release_created }} | |
tag_name: ${{ steps.release.outputs.tag_name }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup Release Please | |
uses: google-github-actions/release-please-action@v2 | |
id: release | |
with: | |
token: ${{ secrets.CR_PAT }} | |
release-type: simple | |
changelog-path: CHANGELOG.md | |
package-name: cliphist |