Skip to content

Update actions/checkout action to v4 #58

Update actions/checkout action to v4

Update actions/checkout action to v4 #58

Workflow file for this run

on:
pull_request:
paths-ignore:
- "README.md"
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Set up Go
uses: actions/[email protected]
with:
go-version: "1.18"
- name: Check out code into the Go module directory
uses: actions/[email protected]
- name: Build
run: |
go build -v .
test:
needs: build
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Set up Go
uses: actions/[email protected]
with:
go-version: "1.18"
- name: Check out code into the Go module directory
uses: actions/[email protected]
- name: Unit testing
run: |
go test -v -cover .