forked from micro-editor/micro
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 763 Bytes
/
test.yaml
File metadata and controls
35 lines (31 loc) · 763 Bytes
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
on: [push, pull_request, workflow_dispatch]
name: Build and Test
jobs:
test:
strategy:
matrix:
go-version: [1.19.x, 1.23.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: false
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Build
run: |
make build
- name: Test
run: |
make test
- uses: actions/upload-artifact@v4
with:
name: micro-${{ matrix.os }}-${{ matrix.go-version }}-${{ github.sha }}
path: |
./micro
./micro.exe
compression-level: 9