feat: add drs version split between testnets and mainnet #1240
Workflow file for this run
This file contains hidden or 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: Build and Test | |
| on: | |
| push: | |
| tags: | |
| - v* | |
| branches: | |
| - main | |
| paths: | |
| - '**/*.go' | |
| - go.mod | |
| - go.sum | |
| pull_request: | |
| paths: | |
| - '**/*.go' | |
| - go.mod | |
| - go.sum | |
| jobs: | |
| build: | |
| runs-on: ["self-hosted"] | |
| env: | |
| GOPRIVATE: "github.com/dymensionxyz/*" | |
| GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/ | |
| - name: Build | |
| run: make build | |
| # - name: Test & Coverage | |
| # run: | | |
| # go install github.com/ory/go-acc@v0.2.6 | |
| # go-acc -o coverage.txt ./... -- -v --race | |
| # - uses: codecov/codecov-action@v3 | |
| # with: | |
| # file: ./coverage.txt |