Skip to content

Commit 83a03fe

Browse files
committed
static-checks: Remove the use of install_go
We are removing install_go from the kata repo, so replace it with the setup-go action here. Signed-off-by: stevenhorsman <steven@uk.ibm.com>
1 parent 9a2dffd commit 83a03fe

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.ci/static-checks.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@ clone_kata_repo() {
2222
fi
2323
}
2424

25-
run_static_checks()
26-
{
25+
run_static_checks() {
2726
clone_kata_repo
2827
INSTALL_IN_GOPATH=false bash "${kata_repo_dir}/ci/install_yq.sh"
29-
bash "${kata_repo_dir}/tests/install_go.sh" -f -p
3028
bash "${kata_repo_dir}/tests/static-checks.sh" "github.com/kata-containers/community"
3129
}
3230

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
run: |
1717
sudo apt-get -y install moreutils hunspell hunspell-en-gb hunspell-en-us pandoc
1818
19+
- name: Setup Golang version ${{ env.GO_VERSION }}
20+
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
21+
1922
- name: Running static checks
2023
run: |
2124
export PATH=${GOPATH}/bin:${PATH}

0 commit comments

Comments
 (0)