diff --git a/.github/workflows/make.yaml b/.github/workflows/make.yaml index a985407e5..5d6f15f8b 100644 --- a/.github/workflows/make.yaml +++ b/.github/workflows/make.yaml @@ -23,7 +23,7 @@ jobs: submodules: recursive - uses: "actions/setup-go@v5" with: - go-version: "1.25.5" + go-version: "1.25.6" cache: true - uses: "actions/setup-node@v6" with: @@ -97,25 +97,25 @@ jobs: GRYPE_VERSION="v0.97.1" GRYPE_DIR="${HOME}/.local/bin" mkdir -p "${GRYPE_DIR}" - + # Download with retry logic MAX_RETRIES=3 RETRY_DELAY=10 - + for i in $(seq 1 $MAX_RETRIES); do echo "Attempt $i of $MAX_RETRIES: Installing grype ${GRYPE_VERSION}..." if curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b "${GRYPE_DIR}" "${GRYPE_VERSION}"; then echo "Grype installed successfully" exit 0 fi - + if [ $i -lt $MAX_RETRIES ]; then echo "Installation failed, retrying in ${RETRY_DELAY} seconds..." sleep $RETRY_DELAY RETRY_DELAY=$((RETRY_DELAY * 2)) fi done - + echo "Failed to install grype after $MAX_RETRIES attempts" exit 1 - name: Add grype to PATH @@ -138,7 +138,7 @@ jobs: submodules: recursive - uses: "actions/setup-go@v5" with: - go-version: "1.25.5" + go-version: "1.25.6" cache: true - uses: "actions/setup-node@v6" with: @@ -160,7 +160,7 @@ jobs: submodules: recursive - uses: "actions/setup-go@v5" with: - go-version: "1.25.5" + go-version: "1.25.6" cache: true - uses: "actions/setup-node@v6" with: @@ -208,7 +208,7 @@ jobs: submodules: recursive - uses: "actions/setup-go@v5" with: - go-version: "1.25.5" + go-version: "1.25.6" cache: true - uses: "actions/setup-node@v6" with: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b66c5491e..f3c032637 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,7 +28,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: "1.25.5" + go-version: "1.25.6" cache: true - name: Set up Node.js diff --git a/go.mod b/go.mod index 445ccf9cc..bbbd86913 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module go.probo.inc/probo -go 1.25.5 +go 1.25.6 require ( codeberg.org/miekg/dns v0.6.2