mirror of
https://codeberg.org/scip/epuppy.git
synced 2025-12-16 12:01:00 +01:00
more linter fixes
This commit is contained in:
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@@ -1,4 +1,4 @@
|
||||
name: build-and-test-gfn
|
||||
name: build-and-test
|
||||
on: [push]
|
||||
jobs:
|
||||
build:
|
||||
|
||||
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@@ -18,7 +18,7 @@ jobs:
|
||||
go-version: 1.24.9
|
||||
|
||||
- name: Build the executables
|
||||
run: ./mkrel.sh gfn ${{ github.ref_name}}
|
||||
run: ./mkrel.sh epuppy ${{ github.ref_name}}
|
||||
|
||||
- name: List the executables
|
||||
run: ls -l ./releases
|
||||
|
||||
@@ -12,8 +12,8 @@ func TestEpub(t *testing.T) {
|
||||
defer bk.Close()
|
||||
}
|
||||
|
||||
func open(t *testing.T, f string) (*epub.Book, error) {
|
||||
bk, err := epub.Open(f)
|
||||
func open(t *testing.T, f string) (*Book, error) {
|
||||
bk, err := Open(f)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user