chore: refactored github workflows into separate files

This commit is contained in:
Simone Margaritelli 2024-08-16 15:17:42 +02:00
commit afdc68f512
4 changed files with 7 additions and 5 deletions

View file

@ -1,4 +1,4 @@
name: Test on Linux
name: Linux tests
on:
push:

View file

@ -1,4 +1,4 @@
name: Test on macOS
name: macOS tests
on:
push:
@ -26,7 +26,7 @@ jobs:
- name: Install Dependencies
run: brew install libpcap libusb p7zip
- name: Run Tests
run: |
env GO111MODULE=on make test

View file

@ -1,4 +1,4 @@
name: Test on Windows
name: Windows tests
on:
push:

View file

@ -12,7 +12,9 @@
<p align="center">
<a href="https://github.com/bettercap/bettercap/releases/latest"><img alt="Release" src="https://img.shields.io/github/release/bettercap/bettercap.svg?style=flat-square"></a>
<a href="https://github.com/bettercap/bettercap/blob/master/LICENSE.md"><img alt="Software License" src="https://img.shields.io/badge/license-GPL3-brightgreen.svg?style=flat-square"></a>
<a href="https://github.com/bettercap/bettercap/actions/workflows/test.yml"><img alt="Test" src="https://github.com/bettercap/bettercap/actions/workflows/test.yml/badge.svg"></a>
<a href="https://github.com/bettercap/bettercap/actions/workflows/test-on-linux.yml"><img alt="Tests on Linux" src="https://github.com/bettercap/bettercap/actions/workflows/test-on-linux.yml/badge.svg"></a>
<a href="https://github.com/bettercap/bettercap/actions/workflows/test-on-macos.yml"><img alt="Tests on macOS" src="https://github.com/bettercap/bettercap/actions/workflows/test-on-macos.yml/badge.svg"></a>
<a href="https://github.com/bettercap/bettercap/actions/workflows/test-on-windows.yml"><img alt="Tests on Windows" src="https://github.com/bettercap/bettercap/actions/workflows/test-on-windows.yml/badge.svg"></a>
<a href="https://hub.docker.com/r/bettercap/bettercap"><img alt="Docker Hub" src="https://img.shields.io/docker/v/bettercap/bettercap?logo=docker"></a>
</p>
</p>