Skip to content

build(deps): bump github.com/labstack/echo/v4 from 4.5.0 to 4.11.2 #471

build(deps): bump github.com/labstack/echo/v4 from 4.5.0 to 4.11.2

build(deps): bump github.com/labstack/echo/v4 from 4.5.0 to 4.11.2 #471

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/[email protected]
with:
args: --timeout=10m --skip-dirs=testdata --tests=false
tests:
name: "Golang ${{ matrix.go-version }} ${{ matrix.os }}"
runs-on: "${{ matrix.os }}"
strategy:
matrix:
go-version: ['1.18', '1.19']
os: [ubuntu-latest]
services:
mysql:
image: mysql:8.0
env:
MYSQL_ROOT_PASSWORD: root
ports:
- 3306:3306
rabbitmq:
image: rabbitmq:3.8
env:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
ports:
- 5672:5672
options: >-
--health-cmd "rabbitmqctl node_health_check"
--health-interval 10s
--health-start-period 10s
--health-timeout 10s
--health-retries 10
redis-server:
image: redis
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
DB_DATABASE: gobay
DB_USER: root
DB_PASSWORD: "root"
GOENV_VERSION: "${{ matrix.go-version }}"
steps:
- name: Set up MySQL
run: |
mysql -e 'CREATE DATABASE ${{ env.DB_DATABASE }};' -u${{ env.DB_USER }} -p${{ env.DB_PASSWORD }} -h 127.0.0.1
- name: Check out code into Go module directory
uses: actions/checkout@v2
- name: Set up golang ${{ matrix.go-version }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Go mod package cache
uses: actions/cache@v2
with:
path: $GOPATH/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
- name: Run tests
run: |
go test -v -count=1 ./...