Skip to content

fix: now --tty-disable is set so the action can complete instead of hanging #371

fix: now --tty-disable is set so the action can complete instead of hanging

fix: now --tty-disable is set so the action can complete instead of hanging #371

Workflow file for this run

name: "Lint, test, and build"
on:
workflow_call:
push:
branches:
- main
pull_request:
types:
- opened
- edited
- synchronize
- reopened
permissions:
# So golangci-lint can read the contents of the lint yaml file
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- uses: extractions/setup-just@v2
- name: Test
run: just test
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- uses: extractions/setup-just@v2
- name: Build Go binary
run: just build