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
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Go 1.16
uses: actions/setup-go@v1
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.16
go-version: '1.25.7'
Comment on lines 15 to +21
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The steps: list items are indented at the same level as steps: (e.g., - uses: actions/checkout@v4). YAML requires the sequence items to be indented under steps:; as written this workflow is likely invalid and will fail to parse in GitHub Actions. Please indent all step entries (and their nested keys) consistently under steps:.

Copilot uses AI. Check for mistakes.

- name: Test source code
run: script/test-source
Expand All @@ -45,7 +45,7 @@ jobs:
run: script/test-docs

- name: Upload orchestrator binary artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: orchestrator
path: bin/orchestrator
12 changes: 6 additions & 6 deletions .github/workflows/system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ jobs:
runs-on: ubuntu-latest

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

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

Comment on lines 14 to 22
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The steps: entries are not indented under steps: (the - name: line starts at the same indentation level as steps:). This makes the YAML structure invalid and will likely prevent the workflow from running. Please indent the entire steps sequence (and nested keys) under steps:.

Copilot uses AI. Check for mistakes.
- name: build
run: script/test-build

- name: clone orchestrator-ci-env
run: |
# Only clone if not already running locally at latest commit
remote_commit=$(git ls-remote https://github.com/openark/orchestrator-ci-env.git HEAD | cut -f1)
remote_commit=$(git ls-remote https://github.com/percona/orchestrator-ci-env.git HEAD | cut -f1)
local_commit="unknown"
[ -d "orchestrator-ci-env" ] && local_commit=$(cd orchestrator-ci-env && git log --format="%H" -n 1)

Expand All @@ -35,7 +35,7 @@ jobs:

if [ "$remote_commit" != "$local_commit" ] ; then
rm -rf ./orchestrator-ci-env
git clone https://github.com/openark/orchestrator-ci-env.git
git clone https://github.com/percona/orchestrator-ci-env.git
fi

- name: apt-get update
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ jobs:
# backend: [sqlite, MySQL]

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

Comment on lines 13 to 18
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The steps: list items are aligned with steps: instead of being indented beneath it. GitHub Actions workflows are strict YAML; this indentation is likely to make the workflow fail to load. Please indent all - name: / - uses: items (and their nested keys) under steps:.

Copilot uses AI. Check for mistakes.
- name: Start local MySQL
run: sudo /etc/init.d/mysql start

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

- name: copy config file template
run: |
Expand All @@ -41,7 +41,7 @@ jobs:
echo "MySQL config generated"

- name: check out master branch
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: master

Expand All @@ -60,7 +60,7 @@ jobs:


- name: check out PR branch
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: build branch
run: script/test-build
Expand Down
Loading