From 2776a7d7379c3af667dc99023bfc4cb3376bbc4c Mon Sep 17 00:00:00 2001 From: Caleb Brown Date: Wed, 6 Mar 2024 10:53:59 +1100 Subject: [PATCH] Bump Go to version 1.22. Signed-off-by: Caleb Brown --- .github/workflows/assign-osv-ids.yml | 2 +- .github/workflows/ci.yml | 4 ++-- .github/workflows/ingest-cloud.yml | 2 +- .github/workflows/ingest-ghsa.yml | 2 +- .github/workflows/validate-osv.yml | 2 +- go.mod | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/assign-osv-ids.yml b/.github/workflows/assign-osv-ids.yml index 4be262ded2..922d23f9bf 100644 --- a/.github/workflows/assign-osv-ids.yml +++ b/.github/workflows/assign-osv-ids.yml @@ -25,7 +25,7 @@ jobs: token: ${{ secrets.GH_TOKEN }} - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: "1.21" + go-version: "1.22" - name: Preprocess reports run: make preprocess diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 849141c36e..40fdbb36ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: "1.21" + go-version: "1.22" - name: Run tests run: make test/unit env: @@ -26,6 +26,6 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: "1.21" + go-version: "1.22" - name: golangci-lint uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0 diff --git a/.github/workflows/ingest-cloud.yml b/.github/workflows/ingest-cloud.yml index 24631ba7ac..3f47d571ea 100644 --- a/.github/workflows/ingest-cloud.yml +++ b/.github/workflows/ingest-cloud.yml @@ -24,7 +24,7 @@ jobs: token: ${{ secrets.GH_TOKEN }} - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: "1.21" + go-version: "1.22" # gocloud has an issue where it requires an ADC file to work with GCS, even # for anonymous requests. This change tricks the auth code into succeeding. diff --git a/.github/workflows/ingest-ghsa.yml b/.github/workflows/ingest-ghsa.yml index 8d1778b8dd..d620d2c256 100644 --- a/.github/workflows/ingest-ghsa.yml +++ b/.github/workflows/ingest-ghsa.yml @@ -31,7 +31,7 @@ jobs: path: osv-schema - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: "1.21" + go-version: "1.22" - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 with: python-version: "3.11" diff --git a/.github/workflows/validate-osv.yml b/.github/workflows/validate-osv.yml index d3889c5f63..afaa0abdb2 100644 --- a/.github/workflows/validate-osv.yml +++ b/.github/workflows/validate-osv.yml @@ -15,6 +15,6 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: "1.21" + go-version: "1.22" - name: Validate run: make validate diff --git a/go.mod b/go.mod index 230cfc68f7..3343c85730 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/ossf/malicious-packages -go 1.21 +go 1.22 require ( cloud.google.com/go/storage v1.39.0