Skip to content

Clean up presenters pointer handling #212

Clean up presenters pointer handling

Clean up presenters pointer handling #212

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
- name: Run tests
run: go test -v ./...
e2e-tests:
uses: ./.github/workflows/e2e.yaml
secrets:
PINECONE_CLIENT_ID: ${{ secrets.PINECONE_CLIENT_ID }}
PINECONE_CLIENT_SECRET: ${{ secrets.PINECONE_CLIENT_SECRET }}
PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}
PC_E2E_PROJECT_ID: ${{ secrets.PC_E2E_PROJECT_ID }}
goreleaser-build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: "~> v2"
args: build --snapshot --clean
- uses: actions/upload-artifact@v4
with:
name: pc_snapshot_${{ github.sha}}_macos
path: dist/pc_darwin_amd64_v1/pc
if-no-files-found: error
retention-days: 7
compression-level: 0
overwrite: true