feat: set bigger max supply limit for te2 network on coinomics state … #598
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: Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- release/** | |
jobs: | |
cleanup-runs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: rokroskar/workflow-run-cleanup-action@master | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'" | |
install-tparse: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
go-version: 1.19 | |
- name: Display Go Version | |
run: go version | |
- name: Install tparse | |
run: | | |
export GO111MODULE="on" && go install github.com/mfridman/tparse@latest | |
- uses: actions/[email protected] | |
with: | |
path: ~/go/bin | |
key: ${{ runner.os }}-go-tparse-binary | |
test-unit: | |
runs-on: ubuntu-cpu16-ram64 | |
steps: | |
- name: Set up go | |
uses: actions/[email protected] | |
with: | |
go-version: 1.19 | |
- name: Checkout source | |
uses: actions/[email protected] | |
- name: Generate LFS file list | |
run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id | |
- name: Restore LFS cache | |
uses: actions/cache@v2 | |
id: lfs-cache | |
with: | |
path: .git/lfs | |
key: ${{ runner.os }}-lfs-${{ hashFiles('.lfs-assets-id') }}-v1 | |
- name: Pull LFS files | |
run: git lfs pull | |
- uses: technote-space/get-diff-action@v5 | |
with: | |
PATTERNS: | | |
**/**.sol | |
**/**.go | |
go.mod | |
go.sum | |
- name: Test unit | |
run: | | |
make test-unit |