Fix v0.2.2 release to homebrew #19
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: test | |
on: | |
push: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: stable | |
cache: false | |
- name: golangci-lint on . | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
version: v1.54 | |
args: -E gofmt | |
skip-cache: true | |
- name: golangci-lint on fixtures/basic | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
version: v1.54 | |
working-directory: fixtures/basic | |
args: -E gofmt | |
skip-cache: true | |
- name: golangci-lint on fixtures/detect_tty | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
version: v1.54 | |
working-directory: fixtures/detect_tty | |
args: -E gofmt | |
skip-cache: true | |
- name: golangci-lint on fixtures/signals | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
version: v1.54 | |
working-directory: fixtures/signals | |
args: -E gofmt | |
skip-cache: true | |
- name: golangci-lint on fixtures/timed | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
version: v1.54 | |
working-directory: fixtures/timed | |
args: -E gofmt | |
skip-cache: true | |
- name: golangci-lint on fixtures/winsize | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
version: v1.54 | |
working-directory: fixtures/winsize | |
args: -E gofmt | |
skip-cache: true | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: stable | |
cache: false | |
- name: Test | |
run: | | |
make test |