Add possibility to manually trigger workflows

and bump workflow go version
This commit is contained in:
ionutboangiu
2024-10-07 18:49:16 +03:00
committed by Dan Christian Bogos
parent e518e7b913
commit bfd83b51f5
2 changed files with 5 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ on:
# branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
# check-if-duplicate-action:
@@ -34,7 +35,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
go-version: "1.23.x"
- name: Go Format
run: gofmt -s -w . && git diff --exit-code

View File

@@ -5,6 +5,7 @@ on:
# branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
# check-if-duplicate-action:
@@ -32,7 +33,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
go-version: "1.23.x"
- name: Set up Python
uses: actions/setup-python@v5
@@ -58,4 +59,4 @@ jobs:
- name: Run integration tests
run: |
sudo env "PATH=$PATH" ./integration_test.sh
sudo env "PATH=$PATH" ./integration_test.sh