Added the custom ceph command build workflow #8
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: "ceph-custom-cmd-test" | |
on: | |
pull_request: | |
paths: | |
- "ceph/**" | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
- name: Build the custom ceph command | |
run: sudo ./build.sh | |
working-directory: ceph | |
- name: Run test for the custom ceph command | |
run: ./test.sh | |
working-directory: ceph |