Skip to content

Commit

Permalink
ci: build on new pull request to main
Browse files Browse the repository at this point in the history
  • Loading branch information
damoun committed Jun 27, 2024
1 parent 65194bf commit b513bbf
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: Build
on:
pull_request:
branches:
- main

jobs:
golang:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/setup-go@v5
with:
go-version: '^1.22.2'
- run: make promu
- run: promu crossbuild -v
- name: Store binaries
uses: actions/upload-artifact@v4
with:
name: build
path: .build

docker:
needs: golang
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Download binaries artifacts
uses: actions/download-artifact@v4
with:
name: build
path: .build
- run: make docker

0 comments on commit b513bbf

Please sign in to comment.