Skip to content

fix(deps): update module github.com/stretchr/testify to v1.8.4 #1342

fix(deps): update module github.com/stretchr/testify to v1.8.4

fix(deps): update module github.com/stretchr/testify to v1.8.4 #1342

Workflow file for this run

name: Test
on: [pull_request]
jobs:
go-test:
name: "Go Test"
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.x
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Test
run: |
go install github.com/magefile/mage
mage test
go-mod-tidy:
name: "Go mod tidy"
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.x
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Tidy check
run: |
go install github.com/magefile/mage
mage gomodtidy