From c786e432e7e1b90f5baaecb4f678a875a252602f Mon Sep 17 00:00:00 2001 From: Maarten de Kruijf Date: Wed, 6 Mar 2024 10:22:08 +0100 Subject: [PATCH] updated ci files with correct runner --- .github/workflows/build.yml | 5 +++-- .github/workflows/lint.yml | 11 ++++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b4d3263c..4854fa70 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,8 +7,9 @@ on: jobs: build: name: Build binaries - runs-on: golang:latest - + runs-on: ubuntu-latest + container: + image: golangci/golangci-lint:latest steps: - name: Checkout Code uses: actions/checkout@v3 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 936bee03..bfd46d02 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,8 +6,10 @@ on: jobs: build: - name: Build binaries - runs-on: golangci/golangci-lint:latest + name: Lint go code with golangci + runs-on: ubuntu-latest + container: + image: golangci/golangci-lint:latest steps: - name: Checkout Code uses: actions/checkout@v3 @@ -15,4 +17,7 @@ jobs: fetch-depth: 0 - name: Build with make - run: golangci-lint run --timeout 5m -v \ No newline at end of file + run: golangci-lint run --timeout 5m -v + + name: CI +