Made build nicer.

This commit is contained in:
retoor 2024-12-03 04:02:36 +01:00
parent 3a51447cc0
commit 72a0ab6068

View File

@ -3,7 +3,7 @@ run-name: devranta async devRant api client build and test
on: [push] on: [push]
jobs: jobs:
build: Build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out repository code - name: Check out repository code
@ -11,10 +11,15 @@ jobs:
- name: List files in the repository - name: List files in the repository
run: | run: |
ls ${{ gitea.workspace }} ls ${{ gitea.workspace }}
- name: Build new package
- run: make build - run: make build
- name: Install package
- run: make install - run: make install
- name: Run application
- run: make run - run: make run
- name: Test application
- run: make test - run: make test
- name: Push new packages
- run: git add . - run: git add .
- run: git config --global user.email "bot@molodetz.com" - run: git config --global user.email "bot@molodetz.com"
- run: git config --global user.name "bot" - run: git config --global user.name "bot"