build.yaml 660 B

123456789101112131415161718192021222324
  1. name: build
  2. on: [ push, pull_request ]
  3. jobs:
  4. build:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - name: Checkout code
  8. uses: actions/checkout@v3
  9. - name: Install Go
  10. uses: actions/setup-go@v4
  11. with:
  12. go-version: '1.22.x'
  13. - name: Install node
  14. uses: actions/setup-node@v3
  15. with:
  16. node-version: '20'
  17. cache: 'npm'
  18. cache-dependency-path: './web/package-lock.json'
  19. - name: Install dependencies
  20. run: make build-deps-ubuntu
  21. - name: Build all the things
  22. run: make build
  23. - name: Print build results and checksums
  24. run: make cli-build-results