Skip to content

Bump the go_modules group across 8 directories with 6 updates #794

Bump the go_modules group across 8 directories with 6 updates

Bump the go_modules group across 8 directories with 6 updates #794

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
env:
GO_VERSION: "1.20"
GOFLAGS: -mod=readonly
jobs:
build:
name: Build project
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Cache Go module dependencies
id: cache-go-module-dependencies
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: go-mod-cache-${{ runner.os }}-${{ env.GO_VERSION }}-${{ hashFiles('go.sum') }}
restore-keys: |
go-mod-cache-${{ runner.os }}-${{ env.GO_VERSION }}
go-mod-cache-${{ runner.os }}
go-mod-cache
- name: Cache build dependencies
id: cache-build-dependencies
uses: actions/cache@v4
with:
path: bin/
key: build-deps-v2-{{ hashFiles('common.mk') }}
restore-keys: |
build-deps-v2
- name: Run vet
run: make vet-all
- name: Run lint
run: make lint-all
- name: Run unit tests
run: make test