-
Notifications
You must be signed in to change notification settings - Fork 140
38 lines (38 loc) · 1002 Bytes
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: CI
on: [push, pull_request, workflow_dispatch]
jobs:
run-test:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install build tools
run: |
sudo apt-get update
sudo apt-get install -y rpm
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20.7
- name: Run go vet
run: make vet
- name: Build binaries
run: make build
#- name: Run integration test
# run: make run-container-test
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: mieru
path: |
release/*.deb
release/*.rpm
release/*.tar.gz
release/*.zip
if-no-files-found: error
- name: Upload code coverage
uses: actions/upload-artifact@v3
with:
name: coverage
path: |
coverage.html