From 73373c8a290e8f16e0ac59b5aa082ca9a21cec98 Mon Sep 17 00:00:00 2001 From: Markus Wüstenberg Date: Wed, 9 Oct 2024 11:19:01 +0200 Subject: Upgrade CI workflow (#223) Mainly the linter action is easier to use.--- .github/workflows/ci.yml | 14 ++++++++++---- README.md | 2 +- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b179ab4..35861c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,10 +29,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} check-latest: true @@ -51,9 +51,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 + + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version-file: go.mod + check-latest: true - name: Lint - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v6 with: version: latest diff --git a/README.md b/README.md index 0d110e1..0782c10 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Tired of complex template languages? -Logo +Logo [![GoDoc](https://pkg.go.dev/badge/maragu.dev/gomponents)](https://pkg.go.dev/maragu.dev/gomponents) [![Go](https://github.com/maragudk/gomponents/actions/workflows/ci.yml/badge.svg)](https://github.com/maragudk/gomponents/actions/workflows/ci.yml) -- cgit 1.4.1