Skip to content

Commit

Permalink
build: update
Browse files Browse the repository at this point in the history
  • Loading branch information
iwpnd committed Nov 12, 2024
1 parent 202ac9b commit da9964c
Showing 1 changed file with 13 additions and 20 deletions.
33 changes: 13 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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/[email protected]
with:
version: latest
- name: test
run: go test -v ./...

0 comments on commit da9964c

Please sign in to comment.