-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
adalkiran
committed
Apr 11, 2024
1 parent
ebf56bd
commit d8d5434
Showing
23 changed files
with
642 additions
and
290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# These are supported funding model platforms | ||
|
||
github: [adalkiran] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Release Documentation | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- 'docs-mkdocs' | ||
- 'main' | ||
paths: | ||
- 'docs/**' | ||
- '.github/workflows/**' | ||
pull_request: | ||
branches: | ||
- 'main' | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
deploy: | ||
name: Deploy documentation | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
with: | ||
sparse-checkout: | | ||
.github | ||
docs | ||
- name: Prepare files | ||
run: chmod +x docs/mkdocs/prepare-mkdocs.sh && cd docs && ./mkdocs/prepare-mkdocs.sh | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.12.2' | ||
|
||
- name: Install mkdocs | ||
run: pip install mkdocs-material mkdocs-material[imaging] | ||
|
||
- name: Perform deployment | ||
run: cd docs/mkdocs && mkdocs gh-deploy --force | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# This workflow will build a golang project | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | ||
|
||
name: Build and Test | ||
|
||
# This workflow only runs linter, builds and runs unit tests for development branches. | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- '**' | ||
- '!main' | ||
paths-ignore: | ||
- 'docs/**' | ||
pull_request: | ||
branches: | ||
- '**' | ||
- '!main' | ||
|
||
jobs: | ||
|
||
build: | ||
name: Build and test project | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.20' | ||
|
||
- name: Preparing | ||
run: sudo apt-get -y install libvpx-dev | ||
|
||
- name: Linting | ||
run: | | ||
cd backend | ||
go fmt ./... | ||
go vet ./... | ||
- name: Test | ||
run: cd backend && go test -v ./... | ||
|
||
- name: Build | ||
run: cd backend && go build -v ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.