From 3249b5f795409f9e5142f01b5836ff8df9dd88e8 Mon Sep 17 00:00:00 2001 From: Thiery Ouattara Date: Thu, 3 Oct 2024 09:17:49 +0000 Subject: [PATCH] fix go version in go mod --- .github/workflows/build.yaml | 13 ++++++++----- go.mod | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d896c06c8..0dcc548b9 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -5,6 +5,8 @@ on: paths: - "**.go" - "**.yaml" + - "**.mod" + - "**.sum" - "!capm.yaml" - "!osc-secret.yaml" - "!example/**.yaml" @@ -37,10 +39,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 with: - go-version: '1.23' + go-version-file: './go.mod' - name: check-gofmt run: make checkfmt shell: bash @@ -54,6 +57,6 @@ jobs: run: pip install yamllint - name: check with yamlint run: yamllint -c .github/linters/yaml-lint.yaml . --format github - - name: Lint - run: make vet + - name: Run make build + run: make build shell: bash diff --git a/go.mod b/go.mod index 9d2722c80..927c5cca8 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/outscale-dev/cluster-api-provider-outscale.git -go 1.23 +go 1.23.0 require ( github.com/Jeffail/gabs v1.4.0