diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index c8b92cce0..b8e198ec9 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -27,9 +27,9 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: + check-latest: true go-version-file: 'gauge/go.mod' cache-dependency-path: 'gauge/go.sum' - id: go - name: Setup java uses: actions/setup-java@v4 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 376cdd127..8dba41476 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -22,35 +22,36 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v3 - # Override language selection by uncommenting this and choosing your languages - # with: - # languages: go, javascript, csharp, python, cpp, java - - # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v3 - - # ℹī¸ Command-line programs to run using the OS shell. - # 📚 https://git.io/JvXDl - - # ✏ī¸ If the Autobuild fails above, remove it and uncomment the following three lines - # and modify them (or add more) to build your code if your project - # uses a compiled language - - #- run: | - # make bootstrap - # make release - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + check-latest: true + go-version-file: 'go.mod' + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + # Override language selection by uncommenting this and choosing your languages + # with: + # languages: go, javascript, csharp, python, cpp, java + + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v3 + + # ℹī¸ Command-line programs to run using the OS shell. + # 📚 https://git.io/JvXDl + + # ✏ī¸ If the Autobuild fails above, remove it and uncomment the following three lines + # and modify them (or add more) to build your code if your project + # uses a compiled language + + #- run: | + # make bootstrap + # make release + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 1c4d64517..afbb882ff 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -22,6 +22,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: + check-latest: true go-version-file: 'go.mod' - name: golangci-lint uses: golangci/golangci-lint-action@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 66cb0dd9d..1a1e41fbf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,8 +15,8 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: + check-latest: true go-version-file: 'go.mod' - id: go - name: Compile gauge run: go run build/make.go --all-platforms --skip-windows @@ -39,8 +39,8 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: + check-latest: true go-version-file: 'go.mod' - id: go - name: Prep installer generation shell: powershell diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 922770219..95c6cb141 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,9 +22,8 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: + check-latest: true go-version-file: 'go.mod' - id: go - - name: Test run: go run build/make.go --test --verbose @@ -40,9 +39,8 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: + check-latest: true go-version-file: 'go.mod' - id: go - - name: Set up Nodejs uses: actions/setup-node@v4 with: @@ -108,9 +106,8 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: + check-latest: true go-version-file: 'go.mod' - id: go - - name: Setup java uses: actions/setup-java@v4 with: @@ -208,9 +205,8 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: + check-latest: true go-version-file: 'go.mod' - id: go - - name: Build distro for ${{ matrix.os }} run: go run build/make.go && go run build/make.go --distro @@ -239,10 +235,9 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: + check-latest: true go-version-file: 'gauge/go.mod' cache-dependency-path: 'gauge/go.sum' - id: go - - name: Setup java uses: actions/setup-java@v4 with: