Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lvmingze123 authored Oct 28, 2024
1 parent d2c0c58 commit 07dfa93
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Go Lint

on:
push:
branches: [ main ]
pull_request:
branches: [ '**' ]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest

0 comments on commit 07dfa93

Please sign in to comment.