From da9964ca8666a98196473ac2f40dd0c30fcaa4d3 Mon Sep 17 00:00:00 2001 From: Benjamin Ramser Date: Tue, 12 Nov 2024 20:07:23 +0100 Subject: [PATCH] build: update --- .github/workflows/ci.yml | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10cdc8b..f87e8f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,29 +1,22 @@ name: ci - on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] workflow_dispatch: - jobs: ci: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - - name: setup go - uses: actions/setup-go@v5 - - - name: build - run: go build . - - - name: lint - uses: golangci/golangci-lint-action@v6.1.0 - with: - version: latest - - - name: test - run: go test -v ./... - + - uses: actions/checkout@v4 + - name: setup go + uses: actions/setup-go@v5 + - name: build + run: go build . + - name: lint + uses: golangci/golangci-lint-action@v6.1.1 + with: + version: latest + - name: test + run: go test -v ./...