Bump golang.org/x/sys from 0.0.0-20200615200032-f1bc736245b1 to 0.1.0 in the go_modules group across 1 directory #4
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: | |
workflow_dispatch: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.16 | |
# Some tests require an already-running Redis server, some require the | |
# redis-server binary. Install Redis directly on the test instance, this | |
# also starts a server on port 6379. | |
- name: Install redis-server | |
run: sudo apt-get install redis-server | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: go test -race -v ./... | |
env: | |
TEST_REDIS_ADDRESSES: "localhost:6379" |