Upgrade packages #1509
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Checks | |
run-name: '${{github.event.pull_request.title}}' | |
'on': | |
- pull_request | |
env: | |
PIPELINE: true | |
jobs: | |
build: | |
strategy: | |
matrix: | |
gcpNfsVolumeAutomaticLocationAllocation: [ "false", "true" ] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Go ${{ matrix.go-version }} | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23.3' | |
- name: Display Go version | |
run: go version | |
- name: Build and test | |
env: | |
FF_GCP_NFS_VOLUME_AUTOMATIC_LOCATION_ALLOCATION: ${{ matrix.gcpNfsVolumeAutomaticLocationAllocation }} | |
run: | | |
./config/sync.sh | |
go mod tidy | |
go mod download | |
make build | |
make test | |
- name: Check modified files | |
run: git diff --exit-code | |
- name: Check if test GUIDs are unique | |
run: x=$(grep -rEho '[[:xdigit:]]{8}(-[[:xdigit:]]{4}){3}-[[:xdigit:]]{12}' ./internal | sort | uniq -d); [ -z "${x}" ] || ( echo duplicated GUID detected $x; exit 1; ) |