Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/capabilities_and_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,18 @@ jobs:
go-version-file: "go.mod"

- name: Build
run: go build -o connector ./cmd/baton-miro
run: go build -o connector ./cmd/baton-sql

- name: Run and save config output
run: ./connector config > config_schema.json

- name: Run and save capabilities output
env:
DB_USER: example
DB_PASS: example
DB_HOST: example
DB_NAME: example
BATON_CONFIG_PATH: examples/example.yml
run: ./connector capabilities > baton_capabilities.json

- name: Commit changes
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: ci
on: pull_request
on:
pull_request:
types: [opened, reopened, synchronize]
push:
branches:
- main
Comment thread
cursor[bot] marked this conversation as resolved.
jobs:
go-lint:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -30,7 +35,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: go tests
run: (set -o pipefail && go test -v -covermode=count -json ./... | tee test.json)
run: (set -o pipefail && go test -v -covermode=atomic -json -race ./... | tee test.json)
- name: annotate go tests
if: always()
uses: guyarb/golang-test-annotations@v0.6.0
Expand Down
41 changes: 0 additions & 41 deletions .github/workflows/main.yaml

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
uses: ConductorOne/github-workflows/.github/workflows/release.yaml@v2
with:
tag: ${{ github.ref_name }}
lambda: false
secrets:
RELENG_GITHUB_TOKEN: ${{ secrets.RELENG_GITHUB_TOKEN }}
APPLE_SIGNING_KEY_P12: ${{ secrets.APPLE_SIGNING_KEY_P12 }}
Expand Down
Loading