1
0
mirror of https://github.com/nginxinc/nginx-prometheus-exporter.git synced 2025-11-19 12:42:08 +03:00

Use latest stable version of Go (#561)

This commit is contained in:
Luca Comellini
2023-12-04 09:00:22 -08:00
committed by GitHub
parent 2dcec19007
commit 43e920b636
3 changed files with 4 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ jobs:
- name: Setup Golang Environment
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version-file: go.mod
go-version: stable
- name: Run Tests
run: make test
@@ -54,7 +54,7 @@ jobs:
- name: Setup Golang Environment
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version-file: go.mod
go-version: stable
- name: Determine GOPATH
id: go

View File

@@ -55,7 +55,7 @@ jobs:
- name: Setup Golang Environment
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version-file: go.mod
go-version: stable
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)

View File

@@ -30,7 +30,7 @@ jobs:
- name: Setup Golang Environment
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version-file: go.mod
go-version: stable
- name: Lint Code
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0