Skip to content

Commit

Permalink
update ci (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
icexin authored Jul 3, 2021
1 parent 2aedaa5 commit 9c84295
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on: [push, pull_request]
on: [pull_request]
name: CI
jobs:
ubuntu-latest:
Expand All @@ -13,15 +13,19 @@ jobs:
run: |
go get github.com/magefile/mage
- name: Install Grub
run: |
sudo apt install grub-common grub-pc-bin xorriso mtools
- name: Checkout code
uses: actions/checkout@v2

- name: Build
run: |
diff -u <(echo -n) <(gofmt -d $(find . -type f -name '*.go'))
mage iso
mage -v iso
macos-latest:
macos-latest:
runs-on: macos-latest
steps:
- name: Install Go
Expand All @@ -43,4 +47,4 @@ jobs:
- name: Build
run: |
diff -u <(echo -n) <(gofmt -d $(find . -type f -name '*.go'))
mage iso
mage -v multiboot

0 comments on commit 9c84295

Please sign in to comment.