mirror of
https://codeberg.org/scip/epuppy.git
synced 2025-12-17 04:20:59 +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]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@@ -18,7 +18,7 @@ jobs:
|
|||||||
go-version: 1.24.9
|
go-version: 1.24.9
|
||||||
|
|
||||||
- name: Build the executables
|
- name: Build the executables
|
||||||
run: ./mkrel.sh gfn ${{ github.ref_name}}
|
run: ./mkrel.sh epuppy ${{ github.ref_name}}
|
||||||
|
|
||||||
- name: List the executables
|
- name: List the executables
|
||||||
run: ls -l ./releases
|
run: ls -l ./releases
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ func TestEpub(t *testing.T) {
|
|||||||
defer bk.Close()
|
defer bk.Close()
|
||||||
}
|
}
|
||||||
|
|
||||||
func open(t *testing.T, f string) (*epub.Book, error) {
|
func open(t *testing.T, f string) (*Book, error) {
|
||||||
bk, err := epub.Open(f)
|
bk, err := Open(f)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user