Skip to content

Commit

Permalink
build: add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
aacebedo committed Jan 27, 2024
1 parent ffd05a2 commit 96ebb51
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build

on: push

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install devbox
uses: jetpack-io/[email protected]
with:
devbox-version: v0.8.5
enable-cache: 'true'

- name: Test
run: devbox run test

- name: Lint
run: devbox run lint

- name: Build
run: devbox run --env GOARCH=amd64 build
devbox run --env GOARCH=arm build

0 comments on commit 96ebb51

Please sign in to comment.