|
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 }}
|
|
- name: Build new package
|
|
- run: make build
|
|
- name: Install package
|
|
- run: make install
|
|
- name: Run application
|
|
- run: make run
|
|
- name: Test application
|
|
- run: make test
|
|
- name: Push new packages
|
|
- 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
|
|
|