aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorThijs Schreijer <thijs@thijsschreijer.nl>2026-07-02 18:18:55 +0200
committerGitHub <noreply@github.com>2026-07-02 18:18:55 +0200
commit138c01126e10c99b9a7951591928da6e71625c2a (patch)
treeea01d6340c86ff76027f3465ef5716b07a175302 /.github/workflows
parentedeec63394684c9281d0a28a8f50c70f39a78e62 (diff)
downloadluasystem-138c01126e10c99b9a7951591928da6e71625c2a.tar.gz
luasystem-138c01126e10c99b9a7951591928da6e71625c2a.tar.bz2
luasystem-138c01126e10c99b9a7951591928da6e71625c2a.zip
chore(ci): Pin actions to commits, remove yamlint (#87)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml21
-rw-r--r--.github/workflows/lint.yml22
2 files changed, 20 insertions, 23 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5388650..e501364 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -60,7 +60,8 @@ jobs:
60 60
61 steps: 61 steps:
62 - name: Checkout 62 - name: Checkout
63 uses: actions/checkout@master 63 # commit hash for version 7.0.0
64 uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
64 65
65 - name: Setup MSVC 66 - name: Setup MSVC
66 # the 'hishamhm/gh-actions-lua' step requires msvc to build PuC Rio Lua 67 # the 'hishamhm/gh-actions-lua' step requires msvc to build PuC Rio Lua
@@ -95,11 +96,13 @@ jobs:
95 # dir \".\\.dependencies\Dependencies.exe\"\n 96 # dir \".\\.dependencies\Dependencies.exe\"\n
96 # .\\.dependencies\\Dependencies.exe -help\n 97 # .\\.dependencies\\Dependencies.exe -help\n
97 98
98 - uses: hishamhm/gh-actions-lua@master 99 - uses: luarocks/gh-actions-lua@6fff34a54b160acea12880a638eab0960507c1f5
100 # commit hash for unrelease commit past version v11; Lua 5.5 and Node fixes
99 with: 101 with:
100 luaVersion: ${{ matrix.luaVersion }} 102 luaVersion: ${{ matrix.luaVersion }}
101 103
102 - uses: hishamhm/gh-actions-luarocks@master 104 - uses: luarocks/gh-actions-luarocks@86ccbcad8c77b22e94c96a2a08632192e2bcd62b
105 # commit hash for unrelease commit past version v6; Node fixes
103 with: 106 with:
104 luaRocksVersion: "3.13.0" 107 luaRocksVersion: "3.13.0"
105 108
@@ -120,7 +123,9 @@ jobs:
120 runs-on: ubuntu-latest 123 runs-on: ubuntu-latest
121 name: Run tests on FreeBSD 124 name: Run tests on FreeBSD
122 steps: 125 steps:
123 - uses: actions/checkout@v4 126 - name: Checkout
127 # commit hash for version 7.0.0
128 uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
124 129
125 - name: Run tests inside FreeBSD VM 130 - name: Run tests inside FreeBSD VM
126 uses: vmactions/freebsd-vm@v1 131 uses: vmactions/freebsd-vm@v1
@@ -138,7 +143,9 @@ jobs:
138 runs-on: ubuntu-latest 143 runs-on: ubuntu-latest
139 name: Run tests on OpenBSD 144 name: Run tests on OpenBSD
140 steps: 145 steps:
141 - uses: actions/checkout@v4 146 - name: Checkout
147 # commit hash for version 7.0.0
148 uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
142 149
143 - name: Run tests inside OpenBSD VM 150 - name: Run tests inside OpenBSD VM
144 uses: vmactions/openbsd-vm@v1 151 uses: vmactions/openbsd-vm@v1
@@ -156,7 +163,9 @@ jobs:
156 runs-on: ubuntu-latest 163 runs-on: ubuntu-latest
157 name: Run tests on NetBSD 164 name: Run tests on NetBSD
158 steps: 165 steps:
159 - uses: actions/checkout@v4 166 - name: Checkout
167 # commit hash for version 7.0.0
168 uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
160 169
161 - name: Run tests inside NetBSD VM 170 - name: Run tests inside NetBSD VM
162 uses: vmactions/netbsd-vm@v1 171 uses: vmactions/netbsd-vm@v1
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 83abc44..9d781cb 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -9,21 +9,9 @@ jobs:
9 runs-on: ubuntu-22.04 9 runs-on: ubuntu-22.04
10 steps: 10 steps:
11 - name: Checkout 11 - name: Checkout
12 uses: actions/checkout@v4 12 # commit hash for version 7.0.0
13 - name: Luacheck 13 uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
14 uses: lunarmodules/luacheck@v1
15
16 yamllint:
17 name: Run yamllint
18 runs-on: ubuntu-latest
19 14
20 steps: 15 - name: Luacheck
21 - name: Checkout repository 16 # commit hash for master commit Apr 20, 2026
22 uses: actions/checkout@v4 17 uses: lunarmodules/luacheck@f47ad699b5aab8eba5494a2b63e26c24dbf486ce
23 - name: Set up Python
24 uses: actions/setup-python@v5
25 - name: Install yamllint
26 run: pip install yamllint
27 - name: Run yamllint
28 run: |
29 yamllint .