Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: '1.25.7'
cache: true

- name: Test source code
run: script/test-source
Expand Down Expand Up @@ -49,3 +50,40 @@ jobs:
with:
name: orchestrator
path: bin/orchestrator

lint:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25.7'
cache: true

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.64.8

security:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25.7'
cache: true

- name: Install govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@v1.1.4

- name: Run govulncheck
run: govulncheck ./...
7 changes: 4 additions & 3 deletions .github/workflows/system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: check out
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25.7'

- name: check out
uses: actions/checkout@v4
cache: true

- name: build
run: script/test-build
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,18 @@ jobs:
# backend: [sqlite, MySQL]

steps:
- name: check out
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25.7'
cache: true

- name: Start local MySQL
run: sudo /etc/init.d/mysql start

- name: check out
uses: actions/checkout@v4

- name: copy config file template
run: |
cp conf/orchestrator-ci-upgrade.conf.json /tmp
Expand Down
Loading