Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix luarocks workflow #2

Merged
merged 5 commits into from
Feb 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/luarocks.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: LuaRocks release
name: luarocks

on:
push:
Expand All @@ -9,13 +9,16 @@ on:
jobs:
luarocks-release:
runs-on: ubuntu-latest
name: LuaRocks upload
name: upload
steps:
- name: Lint
uses: leafo/gh-actions-luarocks@v4.0.0
run: luarocks lint neotest-busted-scm-1.rockspec
- name: Checkout
uses: actions/checkout@v3
- uses: leafo/gh-actions-lua@v10
with:
luaVersion: "5.1"
- uses: leafo/gh-actions-luarocks@v4.0.0
- name: Lint
run: luarocks lint neotest-busted-scm-1.rockspec
- name: Test and upload
uses: nvim-neorocks/luarocks-tag-release@v5
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create release
name: release

on:
push:
Expand All @@ -7,7 +7,7 @@ on:

jobs:
release:
name: release
name: create gh release
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/style.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Style check
name: style

on:
push:
Expand All @@ -8,6 +8,7 @@ on:

jobs:
style:
name: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests
name: tests

on:
push:
Expand All @@ -8,7 +8,7 @@ on:

jobs:
tests:
name: Tests
name: run
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down
Loading