Bump golang.org/x/crypto from 0.0.0-20201016220609-9e8e0b390897 to 0.31.0 #192
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: Build and Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Start Redis | |
uses: supercharge/[email protected] | |
with: | |
redis-version: 6.2-rc3 | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.18.x | |
- name: Install build tools if necessary (for running locally with act) | |
run: command -v make 2>&1 || DEBIAN_FRONTEND=noninteractive sudo apt update && sudo apt install -y build-essential | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Test | |
run: make test-and-cover | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
- name: Fetch Goveralls | |
run: go get github.com/mattn/goveralls | |
- name: Upload Coverage | |
env: | |
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }} | |
run: make upload-coverage |