Skip to content

Update Go version to fix CVE issues #954

Update Go version to fix CVE issues

Update Go version to fix CVE issues #954

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
---
name: Circular dependency check
on:
pull_request:
types: [opened, synchronize, reopened]
branches: [3.0*]
paths:
- .github/workflows/check-circular-deps.yml
- '**.spec'
permissions: read-all
jobs:
spec-check:
name: Circular dependency check
runs-on: ubuntu-latest
steps:
# Checkout the branch of our repo that triggered this action
- name: Workflow trigger checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Check for circular dependencies
run: |
echo "Checking for circular dependency loops..."
# This will sync the toolchain manifests with the LKG daily build.
#./toolkit/scripts/setuplkgtoolchain.sh
# Determine the LKG daily build ID.
#LKG_BUILD_ID=$(wget -qO - https://mariner3dailydevrepo.blob.core.windows.net/lkg/lkg-3.0-dev.json | jq -r ".dailybuildid" | tr '\.' '-')
# Setup the toolchain using the LKG daily build, and then make the full package graph.
# This will fail if any circular dependency loops are detected in the core SPECs.
sudo make -C toolkit -j"$(nproc)" graph REBUILD_TOOLS=y DAILY_BUILD_ID=lkg