Skip to content

Commit

Permalink
All one workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Evertras committed Jan 27, 2024
1 parent 0766c97 commit efcf03a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 26 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: Build, lint, and test
on:
push:
tags:
Expand All @@ -13,18 +13,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.21.5

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Download Go modules
run: go mod download

- name: Ensure we can build
run: go build -v ./cmd/yakdash

- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.51.1

- name: Test
run: make test
23 changes: 0 additions & 23 deletions .github/workflows/lint.yaml

This file was deleted.

0 comments on commit efcf03a

Please sign in to comment.