From 5af9e4841284a5cdbcbd05547d60d91568efdf53 Mon Sep 17 00:00:00 2001 From: MisanthropicBit Date: Sun, 11 Feb 2024 23:00:26 +0100 Subject: [PATCH 1/5] Fix workflow --- .github/workflows/luarocks.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/luarocks.yml b/.github/workflows/luarocks.yml index 5274f83..756955f 100644 --- a/.github/workflows/luarocks.yml +++ b/.github/workflows/luarocks.yml @@ -11,8 +11,9 @@ jobs: runs-on: ubuntu-latest name: LuaRocks upload steps: - - name: Lint + - name: Install luarocks uses: leafo/gh-actions-luarocks@v4.0.0 + - name: Lint run: luarocks lint neotest-busted-scm-1.rockspec - name: Checkout uses: actions/checkout@v3 From bceaadade0ac2732f679df861e1c13fcf8e009d8 Mon Sep 17 00:00:00 2001 From: MisanthropicBit Date: Sun, 11 Feb 2024 23:05:59 +0100 Subject: [PATCH 2/5] Also install lua --- .github/workflows/luarocks.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/luarocks.yml b/.github/workflows/luarocks.yml index 756955f..00f46dd 100644 --- a/.github/workflows/luarocks.yml +++ b/.github/workflows/luarocks.yml @@ -11,8 +11,10 @@ jobs: runs-on: ubuntu-latest name: LuaRocks upload steps: - - name: Install luarocks - uses: leafo/gh-actions-luarocks@v4.0.0 + - 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: Checkout From a7bcf68eb525280d1d788df3af8318e59b9bfe93 Mon Sep 17 00:00:00 2001 From: MisanthropicBit Date: Sun, 11 Feb 2024 23:08:47 +0100 Subject: [PATCH 3/5] Checkout first --- .github/workflows/luarocks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/luarocks.yml b/.github/workflows/luarocks.yml index 00f46dd..c0889f6 100644 --- a/.github/workflows/luarocks.yml +++ b/.github/workflows/luarocks.yml @@ -11,14 +11,14 @@ jobs: runs-on: ubuntu-latest name: LuaRocks upload steps: + - 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: Checkout - uses: actions/checkout@v3 - name: Test and upload uses: nvim-neorocks/luarocks-tag-release@v5 env: From ac838677d56aa12e755288dcba9934b0f22c2791 Mon Sep 17 00:00:00 2001 From: MisanthropicBit Date: Sun, 11 Feb 2024 23:11:40 +0100 Subject: [PATCH 4/5] Common naming scheme --- .github/workflows/luarocks.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- .github/workflows/style.yml | 2 +- .github/workflows/tests.yml | 2 -- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/luarocks.yml b/.github/workflows/luarocks.yml index c0889f6..c0ec8bc 100644 --- a/.github/workflows/luarocks.yml +++ b/.github/workflows/luarocks.yml @@ -1,4 +1,4 @@ -name: LuaRocks release +name: luarocks on: push: @@ -9,7 +9,7 @@ on: jobs: luarocks-release: runs-on: ubuntu-latest - name: LuaRocks upload + name: upload steps: - name: Checkout uses: actions/checkout@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 359bdf7..9fb9917 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Create release +name: release on: push: @@ -7,7 +7,7 @@ on: jobs: release: - name: release + name: gh release runs-on: ubuntu-latest if: github.ref == 'refs/heads/master' steps: diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index c64f957..d9e57a4 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -1,4 +1,4 @@ -name: Style check +name: Styling on: push: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a654d21..9b4bdee 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,5 +1,3 @@ -name: Tests - on: push: branches: From 4462c85aa6c75fe58185696f256edfc783883e2e Mon Sep 17 00:00:00 2001 From: MisanthropicBit Date: Sun, 11 Feb 2024 23:13:59 +0100 Subject: [PATCH 5/5] Better naming --- .github/workflows/release.yml | 2 +- .github/workflows/style.yml | 3 ++- .github/workflows/tests.yml | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9fb9917..0569db8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: jobs: release: - name: gh release + name: create gh release runs-on: ubuntu-latest if: github.ref == 'refs/heads/master' steps: diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index d9e57a4..0bec04b 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -1,4 +1,4 @@ -name: Styling +name: style on: push: @@ -8,6 +8,7 @@ on: jobs: style: + name: check runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9b4bdee..345a295 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,3 +1,5 @@ +name: tests + on: push: branches: @@ -6,7 +8,7 @@ on: jobs: tests: - name: Tests + name: run runs-on: ubuntu-latest strategy: fail-fast: false