Skip to content

Commit

Permalink
ci(workflows): remove windows runner
Browse files Browse the repository at this point in the history
  • Loading branch information
bartventer committed Apr 8, 2024
1 parent 8731273 commit 41ddcbe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 16 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest]
go-version: [1.21.x, 1.22.x]

runs-on: ${{ matrix.os }}
Expand All @@ -26,16 +26,10 @@ jobs:
shell: bash
run: make build

- name: Set up Docker macOS
- name: Set up Docker on macOS
if: matrix.os == 'macos-latest'
uses: douglascamata/setup-docker-macos-action@v1-alpha

- name: Set up Docker Buildx Windows
if: matrix.os == 'windows-latest'
uses: docker/setup-buildx-action@v3
with:
driver-opts: network=host

- name: Test and Coverage
shell: bash
run: make cover
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,16 @@ on:

jobs:
golangci:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: 'Set up Go'
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'

- name: 'Run golangci-lint on ${{ matrix.os }}'
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.57.2
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ DEPS_SCRIPT := ./internal/testing/start_local_deps.sh
GO := go
GOFMT := gofmt
GOLINT := golangci-lint
GOVET := go vet
GOTEST := go test
GOCOVER := go tool cover
GOVET := $(GO) vet
GOTEST := $(GO) test
GOCOVER := $(GO) tool cover

# Flags
GOFLAGS := -v
Expand Down

0 comments on commit 41ddcbe

Please sign in to comment.