Replace C:\Users\USERNAME with %USERPROFILE% #50
Workflow file for this run
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: 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 |