Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
cfergeau committed Jun 13, 2024
1 parent 8a7ca92 commit 3b0fc3e
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/macadam.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
name: Build
on:
push:
branches:
- "*"
tags:
- "*"
pull_request: {}
jobs:
build:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand All @@ -30,20 +26,26 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
- name: Build
run: make
run: make cross
- name: Upload macadam artifact
uses: actions/upload-artifact@v4
with:
name: amd64 linux binary
path: "./bin/macadam-linux-amd64"
test:
strategy:
matrix:
os:
- ubuntu-22.04
- macos-13
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- name: Test
if: matrix.os != 'macOS-11'
run: make test
lint:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-22.04
steps:
- name: vet
run: make vet
Expand Down

0 comments on commit 3b0fc3e

Please sign in to comment.