Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
e004fb8
Fix hardcoded year of 2024 in test.
lawmurray Mar 5, 2025
7ed6dcb
Fix CI
arp242 Mar 19, 2025
9a268ac
Fix race in inotify backend
arp242 Mar 20, 2025
422572f
Fix TestRace/remove_self on illumos
arp242 Mar 21, 2025
0023e08
Reduce intermittent "bad file descriptor" errors on kqueue
arp242 Mar 28, 2025
520d098
Don't add double watches for symlinks
arp242 Mar 31, 2025
b190600
Make BufferedWatcher buffered again
bboreham Nov 26, 2024
3ec0517
Fix relative links on kqueue
arp242 Mar 31, 2025
f8059a6
Don't send unmount events on inotify
arp242 Mar 31, 2025
c9507a5
Correctly mark pre-existing entries when watching a link to a dir on …
arp242 Mar 31, 2025
e48b91a
Add timeout-minutes in GitHub actions
arp242 Mar 31, 2025
8f6d48b
Move some shared code to a shared struct
arp242 Mar 31, 2025
868a000
Test gccgo in CI
arp242 Mar 31, 2025
2d897ca
Simplify inotify backend locking
arp242 Mar 31, 2025
dbe0717
Remove AIX/AHFS from README
arp242 Mar 31, 2025
d321760
Update changelog
arp242 Apr 1, 2025
e7ec5f7
Fix staticcheck in CI
arp242 Apr 1, 2025
644fbb6
Add test to ensure Add()/Remove() works when not reading events
arp242 Apr 1, 2025
ae0e792
Release 1.9.0
arp242 Apr 4, 2025
169a921
Add state helper for printing internal state
arp242 Apr 8, 2025
73eaa1b
Require Go 1.19
arp242 Apr 4, 2025
bd890d9
Add state testing helper
arp242 Apr 6, 2025
38679cb
IgnoringEINTR helper
arp242 Apr 6, 2025
a10c871
Remove gccgo from CI
arp242 May 15, 2025
27ee34c
Use Ubuntu-22.04
arp242 May 15, 2025
3cab091
inotify: send Rename event if recursive watch is renamed
arp242 May 20, 2025
dfa2f7e
Remove NoFollow
arp242 May 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 0 additions & 84 deletions .circleci/config.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
freebsd_task:
name: 'FreeBSD'
freebsd_instance:
image_family: freebsd-14-1
image_family: freebsd-14-2
install_script:
- pkg update -f
- pkg install -y go
Expand Down
45 changes: 0 additions & 45 deletions .github/workflows/build.yml

This file was deleted.

60 changes: 47 additions & 13 deletions .github/workflows/staticcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,68 @@ on:
pull_request:
paths: ['**.go', 'go.mod', '.github/workflows/*']
push:
branches: ['main', 'aix']
branches: ['main']

jobs:
staticcheck:
name: 'staticcheck'
runs-on: 'ubuntu-latest'
env: {cache: 'staticcheck-${{ github.ref }}'}
steps:
- uses: 'actions/setup-go@v5'
# Setup
- uses: 'actions/checkout@v4'
- id: 'cache-restore'
uses: 'actions/cache/restore@v4'
with:
go-version: '1.23'

key: '${{ env.cache }}'
path: |
${{ runner.temp }}/staticcheck
/home/runner/.cache/go-build
restore-keys: |
staticcheck-${{ github.ref }}
staticcheck-refs/heads/main
- uses: 'actions/setup-go@v5'
with: {go-version: '1.24'}
- uses: 'actions/cache@v4'
with:
key: '${{ runner.os }}-staticcheck'
path: |
${{ runner.temp }}/staticcheck
${{ steps.install_go.outputs.GOCACHE || '' }}

# Run
- run: |
export STATICCHECK_CACHE="${{ runner.temp }}/staticcheck"
go install honnef.co/go/tools/cmd/staticcheck@latest

$(go env GOPATH)/bin/staticcheck -matrix <<EOF
windows: GOOS=windows
linux: GOOS=linux
freebsd: GOOS=freebsd
openbsd: GOOS=openbsd
netbsd: GOOS=netbsd
darwin: GOOS=darwin
illumos: GOOS=illumos
EOF
fail=0
for a in $(go tool dist list); do
export GOOS=${a%%/*}
export GOARCH=${a#*/}

case "$GOOS" in
(android|ios) continue ;; # Requires cgo to link.
(js|wasip1) continue ;; # No build tags in internal/ TODO: should maybe fix?
(plan9) continue ;; # Errors out on some missing definitions like syscall.Errno.
esac

echo $a
go vet ./... || fail=1
staticcheck ./... || fail=1
done
exit $fail

# Store cache
- name: 'delete existing cache'
if: '${{ steps.cache-restore.outputs.cache-hit }}'
env: {GH_TOKEN: '${{ secrets.GITHUB_TOKEN }}'}
continue-on-error: true
run: |
gh extension install actions/gh-actions-cache
gh actions-cache delete "${{ env.cache }}" --confirm
- uses: 'actions/cache/save@v4'
with:
key: '${{ env.cache }}'
path: |
${{ runner.temp }}/staticcheck
/home/runner/.cache/go-build
Loading
Loading