vendor/flow: bump golang.org/x/net from 0.17.0 to 0.18.0 in /flow #285
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: Run static checks and unit tests | |
on: | |
push: | |
branches: | |
- main | |
- v* | |
pull_request: | |
branches: | |
- main | |
- v* | |
jobs: | |
main: | |
strategy: | |
matrix: | |
go-version: ["1.20", "1.21"] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: Build | |
run: make | |
- name: Run static checks | |
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc | |
with: | |
version: v1.54.2 | |
args: --config=.golangci.yml --verbose --out-${NO_FUTURE}format colored-line-number | |
skip-cache: true | |
- name: Check module tidiness | |
run: | | |
go mod tidy -compat=1.19 | |
go mod verify | |
test -z "$(git status --porcelain)" || (echo "please run 'go mod tidy -compat=1.19', and commit your changes"; exit 1) | |
- name: Run unit tests | |
run: make test | |
cmd: | |
strategy: | |
matrix: | |
go-version: ["1.20", "1.21"] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: Build | |
working-directory: ./cmd | |
run: make | |
- name: Run static checks | |
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc | |
with: | |
working-directory: ./cmd | |
version: v1.54.2 | |
args: --config=../.golangci.yml --verbose --out-${NO_FUTURE}format colored-line-number | |
skip-cache: true | |
- name: Check module tidiness | |
working-directory: ./cmd | |
run: | | |
go mod tidy -compat=1.19 | |
go mod verify | |
test -z "$(git status --porcelain)" || (echo "please run 'go mod tidy -compat=1.19', and commit your changes"; exit 1) | |
- name: Run unit tests | |
working-directory: ./cmd | |
run: make test | |
flow: | |
strategy: | |
matrix: | |
go-version: ["1.20", "1.21"] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: Build | |
working-directory: ./flow | |
run: make | |
- name: Run static checks | |
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc | |
with: | |
working-directory: ./flow | |
version: v1.54.2 | |
args: --config=../.golangci.yml --verbose --out-${NO_FUTURE}format colored-line-number | |
skip-cache: true | |
- name: Check module tidiness | |
working-directory: ./flow | |
run: | | |
go mod tidy -compat=1.19 | |
go mod verify | |
test -z "$(git status --porcelain)" || (echo "please run 'go mod tidy -compat=1.19', and commit your changes"; exit 1) | |
- name: Run unit tests | |
working-directory: ./flow | |
run: make test |