Skip to content

Commit

Permalink
Add github action build-test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
xbglowx committed Feb 4, 2024
1 parent c03f8d7 commit 22e5bda
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .circleci/config.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Build and Test

on:
push:
tags-ignore:
- 'v*'

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21.6'

- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...

0 comments on commit 22e5bda

Please sign in to comment.