Skip to content

[TA-3384]: Refactor project structure #3

[TA-3384]: Refactor project structure

[TA-3384]: Refactor project structure #3

Workflow file for this run

name: XRPL-GO CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main, 'v*' ]
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"