2024-12-02 16:41:02 +00:00
|
|
|
name: devranta build
|
|
|
|
run-name: devranta async devRant api client build and test
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Check out repository code
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
- name: List files in the repository
|
|
|
|
run: |
|
|
|
|
ls ${{ gitea.workspace }}
|
|
|
|
- run: make build
|
2024-12-02 16:43:40 +00:00
|
|
|
- run: make install
|
2024-12-02 16:41:02 +00:00
|
|
|
- run: make run
|
|
|
|
- run: make test
|
2024-12-02 16:49:20 +00:00
|
|
|
- run: git add .
|
|
|
|
- run: git config --global user.email "bot@molodetz.com"
|
|
|
|
- run: git config --global user.name "bot"
|
|
|
|
- run: git commit -a -m "New build."
|
|
|
|
- run: git push
|
|
|
|
|