Skip to content

[Snyk] Security upgrade alpine from 3.18.4 to 3.19 #269

[Snyk] Security upgrade alpine from 3.18.4 to 3.19

[Snyk] Security upgrade alpine from 3.18.4 to 3.19 #269

Workflow file for this run

on: [push, pull_request]
name: build
env:
GO111MODULE: on
jobs:
check:
strategy:
matrix:
go-version: [1.21.x]
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v1
- name: Cache go modules
uses: actions/cache@preview
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }}
restore-keys: ${{ runner.os }}-go-
- name: Run go fmt
run: diff -u <(echo -n) <(gofmt -d -s .)
- name: Run go vet
run: go vet ./...