From 5133cef2d2e4d3fbde93cd036fa0b18946235ee3 Mon Sep 17 00:00:00 2001 From: Tim Bray Date: Mon, 8 Apr 2024 11:21:05 -0700 Subject: [PATCH] feeling my way through github CI Signed-off-by: Tim Bray --- .github/workflows/{go.yaml => lint.yaml} | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) rename .github/workflows/{go.yaml => lint.yaml} (73%) diff --git a/.github/workflows/go.yaml b/.github/workflows/lint.yaml similarity index 73% rename from .github/workflows/go.yaml rename to .github/workflows/lint.yaml index c89a5d8..e9abb42 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/lint.yaml @@ -1,28 +1,12 @@ -name: Go +name: Lint on: push: - branches: [master] + branches: [main] pull_request: - branches: [master] + branches: [main] jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: 1.14 - - - name: Build - run: make build - - - name: Test - run: make test - lint: name: Code Linting strategy: