-
Notifications
You must be signed in to change notification settings - Fork 0
Fix CI: update Go version and GitHub Actions to current versions #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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
|
||
| - 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) | ||
|
|
||
|
|
@@ -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 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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
|
||
| - 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: | | ||
|
|
@@ -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 | ||
|
|
||
|
|
@@ -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 | ||
|
|
||
There was a problem hiding this comment.
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 assteps:(e.g.,- uses: actions/checkout@v4). YAML requires the sequence items to be indented understeps:; 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 understeps:.