Skip to content

Commit

Permalink
feat: added Build check on pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
LelouchFR committed May 10, 2024
1 parent 476e203 commit 1841c60
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Bug Report
description: File a bug report here
name: 🐛 Bug Report
title: "[BUG]: "
description: File a bug report here
labels: ["bug"]
assignees: ["LelouchFR"]
body:
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Feature Request
name: 💡 Feature Request
title: "[FEAT]: "
description: Request a new feature
labels: ["feature"]
title: "[FEAT]: "
body:
- type: markdown
attributes:
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/icon_suggestion.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 🚀 Suggest an Icon
title: '[NEW ICON] Skill Name'
title: "[NEW ICON]: "
description: Suggest an icon to be added to the list!
labels: 'icon suggestion'
labels: ["icon suggestion"]
body:
- type: input
id: skill-name
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build
on:
pull_request:
branches:
- main
jobs:
Build-Attempt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.18'

- name: Install Go Packages
run: go mod tidy
- name: Add IconsJSON Variable
run: go run build.go
- name: Build index.go
run: go build ./api/index.go

0 comments on commit 1841c60

Please sign in to comment.