Skip to content

Commit

Permalink
fix github actions, changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
dimus committed May 23, 2024
1 parent 513d2ee commit 646a07a
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 57 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
- name: Vet
run: go vet ./...

- name: CodeCovif
if: matrix.platform != 'windows-latest'
run: bash <(curl -s https://codecov.io/bash)
# - name: Upload coverage reports to Codecov
# uses: codecov/[email protected]
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
#
# - name: CodeCovif
# if: matrix.platform != 'windows-latest'
# run: bash <(curl -s https://codecov.io/bash)
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Unreleased

## [v1.1.5] - 2024-05-23 Thu

- Add: update dictionaries
- Add: update modules

## [v1.1.4] - 2023-02-02 Fri

- Add: use `slices` package for sorting.
Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ DATE = $(shell date -u '+%Y-%m-%d_%H:%M:%S%Z')

NO_C = CGO_ENABLED=0
FLAGS_SHARED = $(NO_C) GOARCH=amd64
FLAGS_MAC_ARM = $(NO_C) $GOARCH=arm64 GOOS=darwin
FLAGS_LD = -trimpath -ldflags "-w -s \
-X github.com/gnames/$(PROJ_NAME)/pkg.Build=$(DATE) \
-X github.com/gnames/$(PROJ_NAME)/pkg.Version=$(VERSION)"
Expand All @@ -21,7 +22,7 @@ GOGET = $(GOCMD) get

all: install

test: deps install
test:
go test -shuffle=on -count=1 -race -coverprofile=coverage.txt -covermode=atomic ./...

tools: deps
Expand All @@ -48,7 +49,7 @@ release: dockerhub
$(FLAGS_SHARED) GOOS=linux $(GORELEASE); \
tar zcvf /tmp/$(PROJ_NAME)-$(VER)-linux.tar.gz $(PROJ_NAME); \
$(GOCLEAN); \
$(FLAGS_SHARED) GOOS=darwin $(GORELEASE); \
$(FLAGS_MAC_ARM) $(GORELEASE); \
tar zcvf /tmp/$(PROJ_NAME)-$(VER)-mac.tar.gz $(PROJ_NAME); \
$(GOCLEAN); \
$(FLAGS_SHARED) GOOS=windows $(GORELEASE); \
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Global Names Finder (GNfinder)

[![DOI](https://zenodo.org/badge/137407958.svg)](https://zenodo.org/badge/latestdoi/137407958)
[![Build Status][travis-img]][travis]
[![Doc Status][doc-img]][doc]
[![Go Report Card][go-report-img]][go-report]

Expand Down Expand Up @@ -77,7 +76,7 @@ as a [RESTful API][apidoc].
[Homebrew] is a popular package manager for Open Source software originally
developed for Mac OS X. Now it is also available on Linux, and can easily
be used on MS Windows 10 or 11, if Windows Subsystem for Linux (WSL) is
[installed][WSL install].
[installed][wsl].

Note that [Homebrew] requires some other programs to be installed, like Curl,
Git, a compiler (GCC compiler on Linux, Xcode on Mac). If it is too much,
Expand Down
50 changes: 0 additions & 50 deletions pkg/cli_test.go

This file was deleted.

0 comments on commit 646a07a

Please sign in to comment.