diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0cf4756b..17e73d24 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,7 +51,10 @@ jobs: check-latest: true - name: Setup Go with cache - uses: jfrog/.github/actions/install-go-with-cache@main + uses: actions/setup-go@v5 + with: + go-version-file: 'go.mod' + cache: true - name: Install NuGet uses: nuget/setup-nuget@v2 @@ -74,6 +77,18 @@ jobs: sudo apt-get update sudo apt-get install -y mono-complete + - name: Install Mono on macOS + if: startsWith(matrix.os, 'macos') + env: + HOMEBREW_NO_AUTO_UPDATE: 1 + run: | + set -e + brew install mono || brew install --cask mono-mdk + if [ -x "/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono" ]; then + echo "/Library/Frameworks/Mono.framework/Versions/Current/Commands" >> "$GITHUB_PATH" + fi + mono --version + - name: Lint run: go vet ./... diff --git a/go.mod b/go.mod index c4a6f279..35ca05a2 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/jfrog/build-info-go -go 1.24.6 +go 1.25.4 require ( github.com/BurntSushi/toml v1.4.0