Skip to content

[Fixes 4035] Add the hook.Code to the ModuleInvocationContext. #7726

[Fixes 4035] Add the hook.Code to the ModuleInvocationContext.

[Fixes 4035] Add the hook.Code to the ModuleInvocationContext. #7726

Workflow file for this run

name: Validate
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
validate:
strategy:
matrix:
go-version: [1.21.x, 1.22.x]
os: [ubuntu-20.04]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout Code
uses: actions/checkout@v4
with:
# Resolves to empty string for push events and falls back to HEAD.
ref: ${{ github.event.pull_request.head.sha }}
- name: Validate
run: |
./validate.sh --nofmt --cov --race 10
env:
GO111MODULE: "on"