Skip to content

Commit

Permalink
doc debian
Browse files Browse the repository at this point in the history
  • Loading branch information
gogo committed Jan 9, 2025
1 parent b51a233 commit e935cae
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/debian-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: ensure zoekt builds on debian

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: debian-latest

steps:
- uses: actions/checkout@v4

- name: install go
run: |
wget https://go.dev/dl/go1.23.4.linux-amd64.tar.gz
sudo mkdir -p /usr/local/go1.23.4
sudo tar -C /usr/local/go1.23.4 -xzf go1.23.4.linux-amd64.tar.gz
export PATH=/usr/local/go1.23.4/go/bin:$PATH
export PATH=/usr/local/go1.23.4/go/bin:$PATH
export GOROOT=/usr/local/go1.23.4/go/
export GOBIN=/usr/local/go1.23.4/go/bin/
export GOPROXY=direct
export GOPATH="$HOME/go"
- name: run zoekt
run: |
go run cmd/zoekt/main.go

0 comments on commit e935cae

Please sign in to comment.