Skip to content

Commit

Permalink
remove old config file; add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoreilly committed Apr 6, 2024
1 parent e99d169 commit f61f664
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .core/config.toml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Go

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:

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

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

- name: Set up Core
run: go install cogentcore.org/core/core@main && core setup

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

- name: Test
run: go test -v ./... -coverprofile cover.out

- name: Update coverage report
uses: ncruces/go-coverage-report@v0
with:
coverage-file: cover.out
if: github.event_name == 'push'

0 comments on commit f61f664

Please sign in to comment.