Skip to content

Commit

Permalink
Improve build CI
Browse files Browse the repository at this point in the history
  • Loading branch information
niccoloraspa committed Jan 24, 2024
1 parent cfdeb8b commit 5bd920d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 28 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This workflow builds the binary and run tests

name: Build

on:
pull_request:
branches:
- "**"
push:
branches:
- "main"
- "v[0-9]**"

jobs:

build:
runs-on: ubuntu-latest
steps:
-
name: Checkout repository
uses: actions/checkout@v4
-
name: 🐿 Setup Golang
uses: actions/setup-go@v4
with:
go-version-file: go.mod
-
name: Build
run: go build -v ./...
-
name: Test
run: go test -v ./...
28 changes: 0 additions & 28 deletions .github/workflows/go.yml

This file was deleted.

0 comments on commit 5bd920d

Please sign in to comment.