Use the `main` version for `actions/checkout` (#3)

master
David Leal 2022-08-24 19:37:29 -05:00 committed by GitHub
parent 51509658c4
commit d4d4bac512
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,4 @@
name: luacheck
on: [push, pull_request]
jobs:
@ -9,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@main
- name: apt
run: sudo apt-get install -y luarocks
- name: luacheck install
run: luarocks install --local luacheck
- name: luacheck run
run: $HOME/.luarocks/bin/luacheck ./
run: $HOME/.luarocks/bin/luacheck ./