Skip to content

Commit

Permalink
ci: simplify to single workflow and bump actions
Browse files Browse the repository at this point in the history
  • Loading branch information
maeb committed Oct 31, 2024
1 parent 24e4e1e commit 4394bfc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 44 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/lint.yml

This file was deleted.

19 changes: 14 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
name: test

on:
pull_request: { }
on: push

jobs:
test:
name: go test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: '^1.19.0'
go-version: 'stable'
- run: go test ./...
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 'stable'
- uses: golangci/golangci-lint-action@v6
with:
version: 'latest'

0 comments on commit 4394bfc

Please sign in to comment.