build(deps): bump golang.org/x/net #159
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
on: [push, pull_request] | |
name: Test | |
jobs: | |
unit-test: | |
strategy: | |
matrix: | |
# [1.15.x, 1.16.x] | |
go-version: [1.21.x] | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@master | |
- name: Install Go | |
uses: actions/setup-go@master | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Unit tests | |
run: go test -race ./... | |
integration-tests: | |
name: Integration tests | |
strategy: | |
matrix: | |
# [1.15.x, 1.16.x] | |
go-version: [ 1.21.x ] | |
os: [ ubuntu-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Setup Go | |
uses: actions/setup-go@master | |
- name: Setup Node | |
uses: actions/setup-node@master | |
- name: Install bruno | |
run: npm install -g @usebruno/cli | |
- name: Setup docker env | |
run: sh integration/setup_env.sh | |
- name: Run tests | |
run: cd integration && bru run --env local |