Bump golang.org/x/crypto from 0.0.0-20210921155107-089bfa567519 to 0.1.0 in /tools #128
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 | |
tags: | |
- v[0-9]+.[0-9]+.[0-9]+* | |
pull_request: | |
jobs: | |
test: | |
name: Test | |
strategy: | |
matrix: | |
go-version: | |
- 1.17 | |
mysql-image: | |
- mysql/mysql-server:5.5 | |
- mysql/mysql-server:5.6 | |
- mysql/mysql-server:5.7 | |
- mysql/mysql-server:8.0 | |
- mariadb:5.5 | |
- mariadb:10.0 | |
- mariadb:10.1 | |
- mariadb:10.2 | |
- mariadb:10.3 | |
- percona/percona-server:5.6 | |
- percona/percona-server:5.7 | |
- percona/percona-server:8.0 | |
- percona:5.5 | |
- percona:5.6 | |
- percona:5.7 | |
- percona:8.0 | |
runs-on: ubuntu-latest | |
# The environment this job references | |
environment: | |
name: CI | |
steps: | |
- name: Set up Go release | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Run checks | |
run: | | |
go build -modfile=tools/go.mod -o bin/golangci-lint github.com/golangci/golangci-lint/cmd/golangci-lint | |
go build -modfile=tools/go.mod -o bin/reviewdog github.com/reviewdog/reviewdog/cmd/reviewdog | |
bin/golangci-lint run -c=.golangci-required.yml --out-format=line-number | env REVIEWDOG_GITHUB_API_TOKEN=${{ secrets.GITHUB_TOKEN }} bin/reviewdog -f=golangci-lint -level=error -reporter=github-pr-check | |
bin/golangci-lint run -c=.golangci.yml --out-format=line-number | env REVIEWDOG_GITHUB_API_TOKEN=${{ secrets.GITHUB_TOKEN }} bin/reviewdog -f=golangci-lint -level=error -reporter=github-pr-review | |
- name: Run Tests | |
run: | | |
docker-compose up -d | |
make all | |
make test | |
env: | |
MYSQL_IMAGE: ${{ matrix.mysql-image }} | |
- name: Run debug commands on failure | |
if: ${{ failure() }} | |
run: | | |
env | |
go version | |
go env | |
pwd | |
git status | |
docker --version | |
docker-compose --version |