Skip to content

Commit

Permalink
Update challenges workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalOS committed Apr 13, 2024
1 parent bfc1470 commit 0b123fb
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
with:
fetch-depth: 100
fetch-depth: 0

- name: Install and run Luacheck
uses: nebularg/actions-luacheck@v1
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/luals.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: luals-checker

on:
push:
branches:
- master
tags:
- "*"
pull_request:
branches:
- master

run-name: LuaLS Check
jobs:
LuaLS-checker:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
path: ./workspace
- name: LuaLS check
uses: DeadlyBossMods/LuaLS-config@main
with:
luals-ref: 5623a84ea9a2b27dd7121f88dd995389c702eac1
luals-check-dir: ${{ github.workspace }}/workspace
- name: Send Status to Discord
uses: nebularg/actions-discord-webhook@v1
with:
webhook_url: ${{ secrets.DISCORD_WEBHOOK }}
status: ${{ job.status }}
if: ${{ github.event_name != 'pull_request' && failure() }}

0 comments on commit 0b123fb

Please sign in to comment.