pdf: canvas updates to pdf branch for exporting pdf, and new setting api #868
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
| name: Go | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.23.4' | |
| - name: Set up Core | |
| run: go install cogentcore.org/core@main && core setup | |
| - name: Build | |
| run: go build -v ./... | |
| - name: Test | |
| run: go test -v ./... -coverprofile cover.out -timeout 30s | |
| - name: Update coverage report | |
| uses: ncruces/go-coverage-report@v0 | |
| with: | |
| coverage-file: cover.out | |
| if: github.event_name == 'push' |