Use the `main` version for `actions/checkout` (#3)
parent
51509658c4
commit
d4d4bac512
|
@ -1,6 +1,4 @@
|
||||||
|
|
||||||
name: luacheck
|
name: luacheck
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -9,10 +7,10 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@main
|
||||||
- name: apt
|
- name: apt
|
||||||
run: sudo apt-get install -y luarocks
|
run: sudo apt-get install -y luarocks
|
||||||
- name: luacheck install
|
- name: luacheck install
|
||||||
run: luarocks install --local luacheck
|
run: luarocks install --local luacheck
|
||||||
- name: luacheck run
|
- name: luacheck run
|
||||||
run: $HOME/.luarocks/bin/luacheck ./
|
run: $HOME/.luarocks/bin/luacheck ./
|
||||||
|
|
Loading…
Reference in New Issue