Skip to content

Bump the go-deps group with 20 updates #470

Bump the go-deps group with 20 updates

Bump the go-deps group with 20 updates #470

Workflow file for this run

---
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
check:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.20.x
- run: go mod tidy -v
- name: "Check for changes in go.mod"
run: |
git diff --name-only --exit-code go.mod || ( git diff && echo "Run go tidy to update go.mod" && false )
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.20.x
- run: go mod download
- name: "Compile Go code"
run: |
go build -v ./...
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: "Enable VRF kernel module"
run: |
sudo apt-get update && \
sudo apt-get install -y linux-modules-extra-$(uname -r) && \
sudo modprobe -v vrf || ( echo >&2 "FAILURE"; false )
- name: "Build images"
run: make images
- name: "Run Tests"
run: make test