Feature: TUI Config #322
Workflow file for this run
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: Lint & Test | |
on: | |
pull_request: | |
push: | |
branches: | |
- "main" | |
jobs: | |
lint-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Install just | |
uses: taiki-e/install-action@just | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 1.22.6 | |
cache-dependency-path: ./go.sum | |
- name: Lint Go (bech32m) | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
working-directory: modules/bech32m | |
version: v1.60.1 | |
- name: Lint Go (cli) | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
working-directory: modules/cli | |
version: v1.60.1 | |
- name: Lint Go (go-sequencer-client) | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
working-directory: modules/go-sequencer-client | |
version: v1.60.1 | |
- name: Lint Markdown | |
uses: nosborn/[email protected] | |
with: | |
files: . | |
config_file: .markdownlint.json | |
dot: true | |
- name: Test Go (cli) | |
# FIXME - the ProcessPane tests require tty or pty i think. | |
# no solutions have worked so far https://github.com/actions/runner/issues/241 | |
run: go test ./... -skip TestProcessPane | |
working-directory: modules/cli | |
- name: Integration Test Go | |
run: | | |
# run dev runner and test-integration | |
just run dev init | |
screen -d -m just run dev run | |
sleep 5 | |
just test-integration | |
# FIXME - sequencer client tests are empty | |
# - name: Test Go (go-sequencer-client) | |
# run: go test ./... | |
# working-directory: modules/go-sequencer-client |