change avalanche version #1
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: Branch Push CI | |
| on: [push] | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-18.04 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v2 | |
| with: | |
| version: latest | |
| working-directory: . | |
| args: --timeout 3m | |
| test: | |
| name: Golang Unit Tests v${{ matrix.go }} (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| go: ['1.16'] | |
| os: [macos-11.0, ubuntu-18.04, ubuntu-20.04, windows-latest] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-go@v1 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| - run: go mod download | |
| shell: bash | |
| - run: ./scripts/build.sh evm | |
| shell: bash | |
| - run: ./scripts/build_test.sh | |
| shell: bash | |
| e2e: | |
| name: Golang E2E Tests v${{ matrix.go }} (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| go: [ '1.16' ] | |
| os: [ ubuntu-20.04 ] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-go@v1 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| - run: .github/workflows/run_e2e_tests.sh --parallelism 1 --client-id $KURTOSIS_CLIENT_ID --client-secret $KURTOSIS_CLIENT_SECRET | |
| shell: bash | |
| env: | |
| DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
| DOCKER_PASS: ${{ secrets.DOCKER_PASS }} | |
| KURTOSIS_CLIENT_ID: ${{ secrets.KURTOSIS_CLIENT_ID }} | |
| KURTOSIS_CLIENT_SECRET: ${{ secrets.KURTOSIS_CLIENT_SECRET }} |