Bump golang.org/x/net from 0.7.0 to 0.17.0 #670
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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Code generation & compile | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, windows-2019, macos-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Generate protos and build project (Powershell) | |
if: ${{ matrix.os == 'windows-2019' }} | |
run: .\build.ps1 -generateProtos | |
shell: pwsh | |
- name: Generate protos and build project (Bash) | |
if: ${{ matrix.os != 'windows-2019' }} | |
run: ./build.sh --generate-protos | |
tests: | |
needs: build | |
name: Tests | |
strategy: | |
matrix: | |
version: [ previous-lts, lts, latest ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Tests | |
run: | | |
touch vars.env | |
docker-compose up | |
docker-compose --file=cluster-docker-compose.yml up -d | |
go test -v ./... | |
docker-compose down | |
docker-compose --file=cluster-docker-compose.yml down | |
env: | |
EVENTSTORE_DOCKER_TAG_ENV: ${{ matrix.version }} | |
linting: | |
needs: tests | |
name: Linting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Linting | |
run: go vet ./... | |
- name: Code formatting checks | |
run: diff -u <(echo -n) <(goimports -d ./) |