Skip to content

Sample JavaScript Restaurant #2395

Sample JavaScript Restaurant

Sample JavaScript Restaurant #2395

Workflow file for this run

name: "[PR] Validate build"
on:
pull_request:
branches:
- main
permissions:
contents: read
concurrency:
# New commit on branch cancels running workflows of the same branch
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
binary-build:
strategy:
matrix:
goos: [linux, darwin, windows]
goarch: [amd64, arm64]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Build binaries
run: |
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} CGO_ENABLED=0 go build cmd/daytona/main.go