From b2cb4a2adae380058afdec8edfe679e570b57c7f Mon Sep 17 00:00:00 2001 From: Matthias Diester Date: Wed, 8 Jan 2025 21:32:34 +0100 Subject: [PATCH] Simplify GitHub Action setup Use `stable` as Go version. Fix naming for linter job. Remove unnecessary builds. --- .github/workflows/golangci-lint.yml | 4 ++-- .github/workflows/misspell.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/tests.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index d8fe69b..76c598d 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -12,14 +12,14 @@ on: - main jobs: - build: + golangci-lint: name: golangci-lint runs-on: ubuntu-latest steps: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.23.x + go-version: stable - name: Check out code into the Go module directory uses: actions/checkout@v4 diff --git a/.github/workflows/misspell.yml b/.github/workflows/misspell.yml index 7cffdd5..adfcc1f 100644 --- a/.github/workflows/misspell.yml +++ b/.github/workflows/misspell.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.23.x + go-version: stable - name: Check out code into the Go module directory uses: actions/checkout@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3d0d090..8cd3eac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.23.x + go-version: stable - name: Run GoReleaser uses: goreleaser/goreleaser-action@v6 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5cd2fef..dd9b5b6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.23.x + go-version: stable - name: Check out code into the Go module directory uses: actions/checkout@v4