[TA-3931]: Add NoRippleCheck request #219
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: XRPL-GO Lint and Test | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ '**' ] | |
| jobs: | |
| build: | |
| name: Lint and Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v2 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v1 | |
| - name: Build Docker image | |
| uses: docker/build-push-action@v2 | |
| with: | |
| context: . | |
| file: ./Dockerfile | |
| push: false | |
| load: true | |
| tags: xrpl-go-ci:latest | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max | |
| - name: Run linter | |
| run: docker run --rm xrpl-go-ci:latest sh -c "make lint" | |
| - name: Run tests | |
| run: docker run --rm xrpl-go-ci:latest sh -c "make test-ci" |