Skip to content

Commit

Permalink
fix CI + create dependencies between workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Labarussias <issif+github@gadz.org>
  • Loading branch information
Issif committed Oct 15, 2023
1 parent 8f9c87c commit ef8e7ac
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: golangci-lint

on:
push:
branches:
- main
pull_request:
workflow_call:

permissions:
contents: read
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ permissions:
id-token: write # needed for keyless signing

jobs:
lint:
uses: ./.github/workflows/lint.yaml
test:
uses: ./.github/workflows/test.yaml
release:
strategy:
matrix:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: Test

on:
push:
branches:
- main
pull_request:
workflow_call:

permissions:
contents: read
Expand Down
3 changes: 2 additions & 1 deletion actionners/kubernetes/terminate/terminate.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ import (
"strconv"
"strings"

metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

"github.com/Issif/falco-talon/internal/events"
kubernetes "github.com/Issif/falco-talon/internal/kubernetes/client"
"github.com/Issif/falco-talon/internal/rules"
"github.com/Issif/falco-talon/utils"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

var Terminate = func(rule *rules.Rule, event *events.Event) (utils.LogLine, error) {
Expand Down

0 comments on commit ef8e7ac

Please sign in to comment.