Skip to content

Remove redundant Go version specification from GitHub Actions workflow. #2

Remove redundant Go version specification from GitHub Actions workflow.

Remove redundant Go version specification from GitHub Actions workflow. #2

Workflow file for this run

name: Go
on:
push:
branches:
- dev
pull_request:
branches:
- dev
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/checkout@v2
- name: Cache Go Modules
id: cache-modules
uses: actions/checkout@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install dependencies
run: go mod download
- name: Run tests
run: go test -v ./...