22 Commits

Author SHA1 Message Date
Eli Bendersky af36340149 workflow: run CI on pushes to main branch, not other branches (#399)
* workflow: fix publish-docs workflow error (#398)

Fix errors like https://github.com/tmc/langchaingo/actions/runs/7094309081

* workflow: run CI on pushes to main branch, not other branches

Right now, each PR runs CI twice - once because it's a PR, and another
time because it comes from a push to a branch that created the PR.
See for example https://github.com/tmc/langchaingo/pull/398, causing:

- https://github.com/tmc/langchaingo/actions/runs/7094374726
- https://github.com/tmc/langchaingo/actions/runs/7094367361

This change makes it so we only run CI once per PR, because there's no
need to run it on a branch push.

Now CI runs on either a PR or a push to `main`
2023-12-04 22:41:23 -08:00
Eli Bendersky 0217b032f0 workflow: fix publish-docs workflow error (#398)
Fix errors like https://github.com/tmc/langchaingo/actions/runs/7094309081
2023-12-04 22:38:29 -08:00
Travis Cline db9fe9ee62 github: Run docs only on main 2023-12-04 22:38:29 -08:00
Ismail e1be2fd3ab ci: Pin golangci-lint to 1.55 2023-12-04 22:38:28 -08:00
Travis Cline be4db38357 docs: Add docs publishing, include Ollama quickstart guide. (#342)
* docs: Mark unfinished parts as draft

* github: Add docs publish workflow

* github: Simplify pages deploy

* docs: set baseUrl

* docs: mark more as draft for now
2023-12-04 22:38:28 -08:00
Travis Cline 86697ede72 ci: Pin golangci-lint to 1.54 (#340) 2023-12-04 22:38:28 -08:00
Matt Plachter c27d44f4dd increase timeout for lint 2023-07-12 10:22:01 -04:00
Travis Cline ab9a10ff6a Update ci.yaml 2023-06-30 00:50:57 -07:00
Travis Cline 71b9e17d92 Update ci.yaml 2023-06-29 23:41:28 -07:00
Murilo Santana c05a7dc5d5 ci: add ci step and makefile entry to ensure examples are healthy 2023-06-26 11:11:55 -03:00
Travis Cline 676ee34f9e github: update build-test action 2023-06-24 00:18:14 -07:00
Travis Cline 2e4c00dbde github: update lint action 2023-06-23 23:58:17 -07:00
Travis Cline fa527281e7 Update ci.yaml 2023-06-05 04:37:59 -07:00
Travis Cline 4ae3d393f3 github: restore linting cache 2023-05-21 13:09:35 -07:00
Travis Cline 12deb295dd github: Skip cache 2023-05-13 18:16:22 -07:00
Travis Cline 7d17d66be8 github: Rename workflow 2023-05-13 18:01:10 -07:00
Ayaka Neko 9b2796ce09 ci: trigger lint-build-test GitHub Actions within PRs 2023-04-25 03:07:50 +08:00
Ayaka Neko c57e4ed43d ci: trigger lint-build-test GitHub Actions within PRs 2023-04-25 03:03:35 +08:00
Travis Cline adf4c33fe3 github: exclude exp 2023-04-21 18:30:51 -07:00
Fraser Isbester 40e11b9e4d exp: fix linting errors 2023-04-20 21:46:41 -07:00
Fraser Isbester a667e35874 ci: only new issues 2023-04-20 21:32:44 -07:00
Fraser Isbester 46850436b2 ci: add lint, test, and build CI 2023-04-20 21:30:38 -07:00