From 930c99c314cbc9644fa4f5aace7d9b352de1b138 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Thu, 21 Dec 2023 01:27:34 -0800 Subject: [PATCH 1/2] Update CI badge (#476) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f50bed6e..d4073571 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [![OpenSSFScorecard](https://api.securityscorecards.dev/projects/github.com/nginxinc/nginx-asg-sync/badge)](https://api.securityscorecards.dev/projects/github.com/nginxinc/nginx-asg-sync) -[![Build Status](https://github.com/nginxinc/nginx-asg-sync/workflows/Continuous%20Integration/badge.svg)](https://github.com/nginxinc/nginx-asg-sync/actions?query=workflow%3A%22Continuous+Integration%22) +[![CI](https://github.com/nginxinc/nginx-asg-sync/actions/workflows/ci.yml/badge.svg)](https://github.com/nginxinc/nginx-asg-sync/actions/workflows/ci.yml) [![FOSSAStatus](https://app.fossa.com/api/projects/custom%2B5618%2Fgithub.com%2Fnginxinc%2Fnginx-asg-sync.svg?type=shield)](https://app.fossa.com/projects/custom%2B5618%2Fgithub.com%2Fnginxinc%2Fnginx-asg-sync?ref=badge_shield) [![Go Report Card](https://goreportcard.com/badge/github.com/nginxinc/nginx-asg-sync)](https://goreportcard.com/report/github.com/nginxinc/nginx-asg-sync) From e578e564213335aca26d6f8d749b2a8c1fb6aac7 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Thu, 21 Dec 2023 01:32:23 -0800 Subject: [PATCH 2/2] Use latest stable version of Go (#475) --- .github/workflows/ci.yml | 6 +++--- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/lint.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3bb7330b..e385a015 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - name: Setup Golang Environment uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version-file: go.mod + go-version: stable - name: Determine GOPATH id: go @@ -53,7 +53,7 @@ jobs: - name: Setup Golang Environment uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version-file: go.mod + go-version: stable - name: Run Tests run: make test @@ -74,7 +74,7 @@ jobs: - name: Setup Golang Environment uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version-file: go.mod + go-version: stable - name: Determine GOPATH id: go diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 27f8a97d..26ae7a7c 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -55,7 +55,7 @@ jobs: - name: Setup Golang Environment uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version-file: go.mod + go-version: stable if: matrix.language == 'go' # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift). diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index acc6e2ad..83914633 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -29,7 +29,7 @@ jobs: - name: Setup Golang Environment uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version-file: go.mod + go-version: stable - name: Lint Code uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0