Skip to content

Commit

Permalink
Split up workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
MEhrn00 committed Feb 7, 2024
1 parent 5d7508d commit 4fbcb93
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 28 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/dev-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Development CI

on:
push:
branches:
- dev
- test/**

paths:
- Payload_Type/thanatos/agent/**
- Payload_Type/thanatos/mythic/**
- .github/**


env:
AGENT_CODE: Payload_Type/thanatos/agent
MYTHIC_CODE: Payload_Type/thanatos/mythic

jobs:
lint-workflow:
name: Lint
uses: ./.github/workflows/lint.yml

test-workflow:
name: Test
uses: ./.github/workflows/test.yml
18 changes: 0 additions & 18 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
name: Lint and check code for errors

on:
push:
branches:
- main
- dev
- test/**
paths:
- Payload_Type/thanatos/agent/**
- Payload_Type/thanatos/mythic/**
- .github/**

pull_request:
branches:
- main
- dev
paths:
- Payload_Type/thanatos/agent/**
- Payload_Type/thanatos/mythic/**

workflow_call:

env:
Expand Down
File renamed without changes.
10 changes: 0 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
name: Run tests

on:
push:
branches:
- main
- dev
- test/**
paths:
- Payload_Type/thanatos/agent/**
- Payload_Type/thanatos/mythic/**
- .github/**

workflow_call:

env:
Expand Down

0 comments on commit 4fbcb93

Please sign in to comment.