add package to CI #9
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
name: Vehicle Server CI | |
on: | |
- push | |
- pull_request | |
jobs: | |
ci: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: './go.mod' | |
- name: Check Go Version | |
run: go version | |
- name: Build application | |
run: make all | |
- name: List dist output | |
run: ls dist/ | |
- name: Unit test | |
run: make unit_test | |
- name: Integration test | |
run: make integration_test | |
- name: Package Application | |
run: make package |