Update Document based on furiosa-smi
commit bb7cba4
#5
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: Golang | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: [ '1.21.3' ] | |
steps: | |
- name: checkout furios-smi | |
uses: actions/checkout@v4 | |
with: | |
repository: furiosa-ai/furiosa-smi | |
token: ${{ secrets.TOKEN_FOR_CLONE_ANOTHER_REPO}} | |
path: furiosa-smi | |
- name: install furiosa-smi | |
run: | | |
cd furiosa-smi | |
rustup component add clippy rustfmt | |
cargo build | |
make install | |
- uses: actions/checkout@v4 | |
- name: Setup Go ${{ matrix.go-version }} | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Display Go version | |
run: go version | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.55.0 | |
- name: build and test | |
run: make all |