Skip to content

build(deps): bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.5.1 (#44) #80

build(deps): bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.5.1 (#44)

build(deps): bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.5.1 (#44) #80

name: test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
name: test
steps:
- name: checkout
uses: actions/checkout@v2
- name: docker-cache
uses: satackey/[email protected]
continue-on-error: true
with:
key: ${{ runner.os }}-urls-docker-{hash}
restore-keys: ${{ runner.os }}-urlsh-docker-
- name: docker-up
run: 'cp .env.example .env && docker-compose up -d'
- name: test
run: 'sleep 5 && docker-compose exec -T urlshcache redis-cli flushdb && docker-compose exec -T urlsh sh -c "APP_ENV=test go test -cover ./..."'