build(deps): bump golang.org/x/crypto from 0.17.0 to 0.31.0 (#45) #83
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: 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 ./..."' |