Skip to content

Commit

Permalink
chore(ga): organize github action workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
solidiquis committed Jun 15, 2024
1 parent c2cec7b commit fd7851b
Show file tree
Hide file tree
Showing 6 changed files with 85 additions and 71 deletions.
70 changes: 0 additions & 70 deletions .github/workflows/ci.yaml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/go_ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: python-ci

on:
release:
types: [created]
pull_request:
push:
branches:
- main

jobs:
test-python:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.9"

- name: Install dependencies
working-directory: python
run: |
python -m pip install --upgrade pip
pip install '.[development]'
pip install -e .
- name: Run pytest
working-directory: python
run: |
pytest
19 changes: 19 additions & 0 deletions .github/workflows/protos_ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: protos-ci

on:
release:
types: [created]
pull_request:
push:
branches:
- main

jobs:
lint-protos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: bufbuild/buf-setup-action@v1
- uses: bufbuild/buf-lint-action@v1
with:
input: protos
Empty file.
29 changes: 29 additions & 0 deletions .github/workflows/rust_ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: rust-ci

on:
release:
types: [created]
pull_request:
push:
branches:
- main

jobs:
lint-rust:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check
args: --manifest-path rust/Cargo.toml
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Sift

[![Build status](https://github.com/sift-stack/sift/actions/workflows/ci.yaml/badge.svg)](https://github.com/sift-stack/sift/actions)
[![Build status](https://github.com/sift-stack/sift/actions/workflows/rust_ci.yaml/badge.svg)](https://github.com/sift-stack/sift/actions)
[![Build status](https://github.com/sift-stack/sift/actions/workflows/python_ci.yaml/badge.svg)](https://github.com/sift-stack/sift/actions)
[![Build status](https://github.com/sift-stack/sift/actions/workflows/go_ci.yaml/badge.svg)](https://github.com/sift-stack/sift/actions)
[![Build status](https://github.com/sift-stack/sift/actions/workflows/proto_ci.yaml/badge.svg)](https://github.com/sift-stack/sift/actions)

This repository contains utilities to interface with Sift's API. Currently, the primary way to interact with our API is through the code generated via our protobufs (protocol buffers). Comprehensive documentation
for our protobufs can be found at [this link](https://docs.siftstack.com/ingestion/api) or in the actual proto files themselves as doc-comments.
Expand Down

0 comments on commit fd7851b

Please sign in to comment.