Skip to content

Commit

Permalink
gh: format yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
charlievieth committed Aug 31, 2024
1 parent 5a4b570 commit 5a902c7
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 62 deletions.
2 changes: 0 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
version: 2

updates:
- package-ecosystem: gomod
directory: /
labels:
- area/dependencies
schedule:
interval: daily

- package-ecosystem: github-actions
directory: /
labels:
Expand Down
32 changes: 15 additions & 17 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: Test fastwalk on Linux

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]

branches: [master]
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -14,16 +12,16 @@ jobs:
matrix:
go: ['1.20', '1.21', '1.22', '1.23']
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Test
run: go test ./...
- name: Test Race
run: go test -race ./...
- name: Test Builds
run: make test_build --jobs=4
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Test
run: go test ./...
- name: Test Race
run: go test -race ./...
- name: Test Builds
run: make test_build --jobs=4
File renamed without changes.
28 changes: 13 additions & 15 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,24 @@
name: Test fastwalk on macOS amd64

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]

branches: [master]
jobs:
build:
runs-on: macos-13
strategy:
matrix:
go: ['1.22', '1.23']
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Test
run: go test ./...
- name: Test Race
run: go test -race ./...
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Test
run: go test ./...
- name: Test Race
run: go test -race ./...
28 changes: 13 additions & 15 deletions .github/workflows/macos_arm64.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,24 @@
name: Test fastwalk on macOS arm64

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]

branches: [master]
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
go: ['1.22', '1.23']
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Test
run: go test ./...
- name: Test Race
run: go test -race ./...
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Test
run: go test ./...
- name: Test Race
run: go test -race ./...
24 changes: 11 additions & 13 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
name: Test fastwalk on Windows

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]

branches: [master]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
go: ['1.22', '1.23']
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Test Race
run: go test -race ./...
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Test Race
run: go test -race ./...

# WSL Test: disabled for now since it's very slow (~5 minutes)
#
Expand Down

0 comments on commit 5a902c7

Please sign in to comment.