mirror of
https://github.com/BloopAI/setup-zig.git
synced 2026-08-24 12:28:35 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ac8783ec73 | ||
|
|
0d1d53a100 | ||
|
|
cc94e32d52 | ||
|
|
58ed55c346 |
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -1,6 +1,16 @@
|
||||
name: CI
|
||||
on: push
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: goto-bus-stop/standard-action@v1.0.0
|
||||
with:
|
||||
annotate: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
smoke-test:
|
||||
strategy:
|
||||
matrix:
|
||||
|
||||
@@ -4,5 +4,8 @@ All notable changes to this project will be documented in this file.
|
||||
|
||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## 1.0.1
|
||||
* Add an icon and colour.
|
||||
|
||||
## 1.0.0
|
||||
* Initial release.
|
||||
|
||||
@@ -19,6 +19,12 @@ jobs:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: goto-bus-stop/setup-zig@v1.0.0
|
||||
- run: zig build test
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: goto-bus-stop/setup-zig@v1.0.0
|
||||
- run: zig fmt --check src/*.zig
|
||||
```
|
||||
|
||||
Optionally set a Zig version:
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
name: 'Setup Zig'
|
||||
description: 'Setup a Zig compiler and add it to the path'
|
||||
icon: play
|
||||
color: orange
|
||||
author: 'goto-bus-stop'
|
||||
inputs:
|
||||
version:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "setup-zig",
|
||||
"description": "Use the zig compiler in your Github Action",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"author": "Renée Kooi <renee@kooi.me>",
|
||||
"bugs": {
|
||||
"url": "https://github.com/goto-bus-stop/setup-zig/issues"
|
||||
|
||||
Reference in New Issue
Block a user