diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 2f85879..9b27210 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,5 +1,4 @@ version: 2 - updates: - package-ecosystem: gomod directory: / @@ -7,7 +6,6 @@ updates: - area/dependencies schedule: interval: daily - - package-ecosystem: github-actions directory: / labels: diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 915562f..4c26550 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -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 @@ -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 diff --git a/.github/workflows/linux_386.yaml b/.github/workflows/linux_386.yml similarity index 100% rename from .github/workflows/linux_386.yaml rename to .github/workflows/linux_386.yml diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 146d4a4..b67c707 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -1,11 +1,9 @@ name: Test fastwalk on macOS amd64 - on: push: - branches: [ master ] + branches: [master] pull_request: - branches: [ master ] - + branches: [master] jobs: build: runs-on: macos-13 @@ -13,14 +11,14 @@ jobs: 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 ./... diff --git a/.github/workflows/macos_arm64.yml b/.github/workflows/macos_arm64.yml index 89ff2fe..38ce44b 100644 --- a/.github/workflows/macos_arm64.yml +++ b/.github/workflows/macos_arm64.yml @@ -1,11 +1,9 @@ name: Test fastwalk on macOS arm64 - on: push: - branches: [ master ] + branches: [master] pull_request: - branches: [ master ] - + branches: [master] jobs: build: runs-on: macos-latest @@ -13,14 +11,14 @@ jobs: 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 ./... diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 1093bf1..119f195 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -1,11 +1,9 @@ name: Test fastwalk on Windows - on: push: - branches: [ master ] + branches: [master] pull_request: - branches: [ master ] - + branches: [master] jobs: build: runs-on: windows-latest @@ -13,15 +11,15 @@ jobs: 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) #