Skip to content

Commit

Permalink
chore: add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Jul 24, 2024
1 parent 482bdcf commit 399ed8a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI
on:
push:
branches:
- master
- main
pull_request:

jobs:
build:
name: Build
strategy:
matrix:
go-version: [stable, oldstable]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Build gofmt
run: go build ./gofmt
- name: Build goimports
run: go build ./goimports

0 comments on commit 399ed8a

Please sign in to comment.