-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (41 loc) · 932 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: "build"
on:
push:
branches:
- master
tags:
- '*'
pull_request:
branches:
- master
jobs:
builds:
strategy:
matrix:
os:
- name: ubuntu-24.04
image: null
deps: "sudo apt-get update && sudo apt-get install just"
display: ubuntu
- name: ubuntu-latest
image: alpine:latest
deps: "apk add just"
display: alpine
- name: macos-latest
image: null
deps: "brew install just"
display: macos
runs-on: ${{ matrix.os.name }}
name: ${{ matrix.os.display }}
container:
image: ${{ matrix.os.image }}
steps:
- uses: actions/checkout@v4
- name: go
uses: actions/setup-go@v5
with:
go-version: 1.23
- name: "deps"
run: ${{ matrix.os.deps }}
- name: "build"
run: just