Debian Codegraph @

.github/workflows/build.yml

raw symbols SCIP
1 name: Build
2
3 on:
4 push:
5 branches: [main]
6 pull_request:
7 branches: [main]
8
9 jobs:
10 build:
11 runs-on: ${{ matrix.os }}
12 strategy:
13 matrix:
14 include:
15 - os: ubuntu-latest
16 arch: amd64
17 - os: ubuntu-24.04-arm
18 arch: arm64
19 steps:
20 - name: Checkout
21 uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
22 with:
23 fetch-depth: '1'
24
25 - name: Set up Go
26 uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
27 with:
28 go-version: "stable"
29
30 - name: Install dependencies
31 run: go mod download
32
33 - name: Build
34 run: go build -v -o landrun ./cmd/landrun/main.go
35
36 - name: Upload binary
37 uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
38 with:
39 name: landrun-linux-${{ matrix.arch }}
40 path: ./landrun