Skip to content

Commit

Permalink
update tests and build
Browse files Browse the repository at this point in the history
  • Loading branch information
rusq committed Nov 5, 2024
1 parent 80eea54 commit 2f0b9d3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
go-version: "1.23"

- name: Build
run: go build -v ./...
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- run: git fetch --force --tags
- uses: actions/setup-go@v5
with:
go-version: '>=1.22.0'
go-version: '>=1.23.0'
cache: true
# More assembly might be required: Docker logins, GPG, etc. It all depends
# on your needs.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ clean:
-rm slackdump slackdump.exe $(wildcard *.zip)

test:
go test -race -cover -count=3 ./...
go test -race -cover ./...

aurtest:
GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" go build -o 'deleteme' ./cmd/slackdump
Expand Down
4 changes: 2 additions & 2 deletions internal/structures/index_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -383,9 +383,9 @@ func TestExportIndex_Marshal(t *testing.T) {
},
args{fsadapter.NewDirectory(dir)},
[]resultfile{
{"channels.json", 1877},
{"channels.json", 1979},
{"groups.json", 3},
{"mpims.json", 2070},
{"mpims.json", 2172},
{"dms.json", 955},
{"users.json", 16061},
},
Expand Down

0 comments on commit 2f0b9d3

Please sign in to comment.