From f5ff65533080503b7b51462a729cd1275d8dd388 Mon Sep 17 00:00:00 2001 From: Dmitriy Smotrov Date: Fri, 10 Nov 2023 04:06:11 +0400 Subject: [PATCH] Add running tests on macos It needs because I got bug in go-fuse that specific for macos after autoupdate go-fuse version via dependabot, so it should prevent this bugs in future --- .github/workflows/go-releaser.yml | 2 +- .github/workflows/go-test.yml | 5 +++-- .github/workflows/golangci-lint.yml | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go-releaser.yml b/.github/workflows/go-releaser.yml index 6e76e81..dd34b53 100644 --- a/.github/workflows/go-releaser.yml +++ b/.github/workflows/go-releaser.yml @@ -1,4 +1,4 @@ -name: goreleaser +name: Release on: push: diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml index 3a6c460..7dbc46b 100644 --- a/.github/workflows/go-test.yml +++ b/.github/workflows/go-test.yml @@ -1,4 +1,4 @@ -name: Go package +name: Go tests on: push: @@ -11,10 +11,11 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: matrix: go: [ '1.21', 'stable' ] + os: [ ubuntu-latest, macos-13 ] name: Go ${{ matrix.go }} steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 75a2c79..db50fed 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -1,4 +1,4 @@ -name: golangci-lint +name: Lint on: push: tags: