Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Commit

Permalink
Use same build as wzprof
Browse files Browse the repository at this point in the history
  • Loading branch information
Pryz committed May 10, 2023
1 parent c7c8c27 commit 6e4ee91
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 60 deletions.
32 changes: 30 additions & 2 deletions .github/workflows/go-lint.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: go-lint
name: build
on:
push:
tags:
Expand All @@ -18,7 +18,20 @@ env:
GOLANGCI_LINT_VERSION: v1.52.2

jobs:
lint:
spellcheck:
name: Spell Check
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v2

- name: Check spelling of Go files
uses: crate-ci/typos@master
with:
files: '*.go'
write_changes: true

golangci-lint:
name: Go Lint
runs-on: ubuntu-latest
timeout-minutes: 30
Expand All @@ -37,3 +50,18 @@ jobs:
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
args: --timeout 5m

test:
name: Go Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: .go-version
check-latest: true

- name: Test
run: go test -v ./...
37 changes: 0 additions & 37 deletions .github/workflows/go-release.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/go-test.yml

This file was deleted.

0 comments on commit 6e4ee91

Please sign in to comment.