Skip to content

chore(deps): update golang docker tag to v1.21.4 #1313

chore(deps): update golang docker tag to v1.21.4

chore(deps): update golang docker tag to v1.21.4 #1313

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