Update README with more of the parts not yet added from C++. #38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will checkout, build, and run the tests for the Go S2 project. | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
name: Go Build and Test | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up Go | |
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0 | |
with: | |
# TODO: enable [matrix testing](https://github.com/marketplace/actions/setup-go-environment#matrix-testing) | |
# so that we can test on both stable, oldstable and the oldest version | |
# we currently support (as specified in go.mod). | |
go-version: 'stable' | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: go test -v ./... |