Skip to content

Commit 3d28653

Browse files
authored
Merge pull request #6 from livesession/feat/embedding
feat(embedding): allof embedding structs impl
2 parents a427fd8 + bde2713 commit 3d28653

164 files changed

Lines changed: 8787 additions & 952 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 15 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
1-
name: Build project
2-
on: [ push, pull_request ]
3-
1+
name: CI
2+
on:
3+
push: {}
4+
pull_request: {}
5+
workflow_dispatch: {}
46
permissions:
57
contents: read
6-
78
jobs:
89
build:
9-
name: Build
10+
uses: oapi-codegen/actions/.github/workflows/ci.yml@75566d848d25021f137594c947f26171094fb511 # v0.5.0
11+
with:
12+
lint_versions: '["1.25"]'
13+
14+
build-binaries:
1015
runs-on: ubuntu-latest
1116
strategy:
12-
fail-fast: false
13-
# perform matrix testing to give us an earlier insight into issues with different versions of supported major versions of Go
17+
fail-fast: true
1418
matrix:
1519
version:
16-
- "1.22"
17-
- "1.23"
18-
- "1.24"
19-
- "1.25"
20+
- "stable"
21+
- "oldstable"
2022
steps:
2123
- name: Check out source code
2224
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -26,25 +28,8 @@ jobs:
2628
with:
2729
go-version: ${{ matrix.version }}
2830

29-
- name: Test
30-
run: make test
31+
- name: Build
32+
run: go build ./cmd/oapi-codegen
3133
env:
3234
# A combination of our GitHub Actions setup, with the Go toolchain, leads to inconsistencies in calling `go env`, in particular with Go 1.21, where having (the default) `GOTOOLCHAIN=auto` results in build failures
3335
GOTOOLCHAIN: local
34-
35-
- name: Build
36-
run: go build ./cmd/oapi-codegen
37-
38-
results:
39-
if: ${{ always() }}
40-
runs-on: ubuntu-latest
41-
name: Check build results
42-
needs: [build]
43-
steps:
44-
- run: |
45-
result="${{ needs.build.result }}"
46-
if [[ $result == "success" || $result == "skipped" ]]; then
47-
exit 0
48-
else
49-
exit 1
50-
fi

.github/workflows/generate.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

.github/workflows/lint.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

.github/workflows/tidy.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)