chore(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 in /examples/remote-channels #711
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: checks | |
on: [ | |
pull_request, | |
workflow_dispatch, | |
] | |
env: | |
TERM: xterm | |
REVIVE_FORCE_COLOR: 1 | |
jobs: | |
test: | |
name: run-testcases | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go_version: ['1.21'] | |
# services: | |
# redis: | |
# image: redis:5.0-alpine | |
# ports: | |
# - 6379:6379 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go_version }} | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cache/go-build | |
~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: start services | |
run: docker compose up -d | |
- name: run testcases | |
run: make test2 | |
- name: benchmark | |
run: make bench | |
- name: linter | |
run: make lint | |
- name: vet | |
run: make vet | |