update dependency #676
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: damocles-manager | |
on: | |
pull_request: | |
branches: ["main", "release/**", "dev/coop/**"] | |
paths-ignore: ["*.md", "docs/**"] | |
push: | |
branches: ["main", "release/**", "dev/coop/**"] | |
paths-ignore: ["*.md", "docs/**"] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'damocles-manager/go.mod' | |
cache-dependency-path: 'damocles-manager/go.sum' | |
- name: Instal Dependencies | |
run: | | |
sudo apt update && sudo apt install --reinstall ocl-icd-opencl-dev libhwloc-dev -y | |
go install github.com/golangci/golangci-lint/cmd/[email protected] | |
go install github.com/segmentio/[email protected] | |
go install mvdan.cc/[email protected] | |
- name: Test damocles-manager | |
run: make test-manager | |
- name: Build damocles-manager | |
run: make build-manager | |
- name: Check damocles-manager | |
run: make check-manager | |
- name: Check git dirty | |
run: make check-git | |
- name: Show bins | |
run: ls -lha ./dist/bin/ | |
# - name: upload damocles-manager | |
# uses: actions/upload-artifact@v2 | |
# with: | |
# name: damocles-manager | |
# path: ./dist/bin/ | |
# if-no-files-found: error | |
# retention-days: 3 |