Replace Travis CI with GitHub actions (#596)
This commit is contained in:
parent
16d676184e
commit
5cb40fbcd1
3 changed files with 18 additions and 12 deletions
16
.github/workflows/build.yml
vendored
Normal file
16
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
name: build
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
luacheck:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Install Luarocks
|
||||||
|
run: |
|
||||||
|
sudo apt-get update -qyy
|
||||||
|
sudo apt-get install luarocks -qyy
|
||||||
|
- name: Install Luacheck
|
||||||
|
run: luarocks install --local luacheck
|
||||||
|
- name: Run Luacheck
|
||||||
|
run: $HOME/.luarocks/bin/luacheck mods
|
12
.travis.yml
12
.travis.yml
|
@ -1,12 +0,0 @@
|
||||||
language: generic
|
|
||||||
sudo: false
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- luarocks
|
|
||||||
before_install:
|
|
||||||
- luarocks install --local luacheck
|
|
||||||
script:
|
|
||||||
- $HOME/.luarocks/bin/luacheck --no-color .
|
|
||||||
notifications:
|
|
||||||
email: false
|
|
|
@ -1,6 +1,8 @@
|
||||||
# Capture The Flag
|
# Capture The Flag
|
||||||
[![Build Status](https://travis-ci.org/MT-CTF/capturetheflag.svg?branch=master)](https://travis-ci.org/MT-CTF/capturetheflag)
|
[![Build Status](https://travis-ci.org/MT-CTF/capturetheflag.svg?branch=master)](https://travis-ci.org/MT-CTF/capturetheflag)
|
||||||
|
|
||||||
|
[![Build status](https://github.com/MT-CTF/capturetheflag/workflows/build/badge.svg)](https://github.com/MT-CTF/capturetheflag/actions)
|
||||||
|
|
||||||
* Fast rounds of CTF games.
|
* Fast rounds of CTF games.
|
||||||
* Removed nodes for focus.
|
* Removed nodes for focus.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue