This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
Ensure proper closure of upstream connection in Pipe function #105
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: Go | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: go.mod | |
cache: true | |
- name: Build | |
run: make build | |
- name: Run golangci-lint [linux] | |
uses: golangci/[email protected] | |
with: | |
args: --verbose --timeout 3m | |
# Disable pkg & build cache flags; the manual build step fills those in, | |
# so repopulating the cache just shows a pile of errors. | |
skip-pkg-cache: true | |
skip-build-cache: true | |
env: | |
GOOS: "linux" | |
- name: Run golangci-lint [windows] | |
uses: golangci/[email protected] | |
with: | |
args: --verbose --timeout 3m | |
# Disable pkg & build cache flags; the manual build step fills those in, | |
# so repopulating the cache just shows a pile of errors. | |
skip-pkg-cache: true | |
skip-build-cache: true | |
env: | |
GOOS: "windows" |