Skip to content

Commit

Permalink
updated ci files with correct runner
Browse files Browse the repository at this point in the history
  • Loading branch information
MaartendeKruijf committed Mar 6, 2024
1 parent b1379f8 commit c786e43
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,18 @@ 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
with:
fetch-depth: 0

- name: Build with make
run: golangci-lint run --timeout 5m -v
run: golangci-lint run --timeout 5m -v

name: CI

0 comments on commit c786e43

Please sign in to comment.