Skip to content

Commit

Permalink
Bump up version of external packages
Browse files Browse the repository at this point in the history
  • Loading branch information
spiegel-im-spiegel committed Sep 12, 2021
1 parent 0407c93 commit da46c4d
Show file tree
Hide file tree
Showing 9 changed files with 405 additions and 109 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,13 @@ jobs:
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ^1.16
go-version: ^1.17
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
Expand All @@ -21,4 +21,4 @@ jobs:
# Optional: golangci-lint command line arguments.
args: --enable gosec
- name: testing
run: go test ./...
run: go test -shuffle on ./...
2 changes: 1 addition & 1 deletion .github/workflows/vulns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ^1.16
go-version: ^1.17
- name: install depm
run: go install github.com/spiegel-im-spiegel/depm@latest
- name: WriteGoList
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Other files and folders
*.bak
.task/
22 changes: 22 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: '3'

tasks:
default:
cmds:
- task: clean
- task: test

test:
desc: Test and lint.
cmds:
- go mod verify
- go test -shuffle on ./...
- docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.42.1 golangci-lint run --enable gosec --timeout 3m0s ./...
sources:
- ./go.mod
- '**/*.go'

clean:
desc: Initialize module and build cache, and remake go.sum file.
cmds:
- go mod tidy -v -go=1.17
4 changes: 0 additions & 4 deletions clean-all.sh

This file was deleted.

15 changes: 10 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
module github.com/spiegel-im-spiegel/aozora-api

go 1.16
go 1.17

require (
github.com/spf13/cobra v1.1.3
github.com/spiegel-im-spiegel/errs v1.0.2
github.com/spiegel-im-spiegel/fetch v0.2.3
github.com/spiegel-im-spiegel/gocli v0.10.4
github.com/spf13/cobra v1.2.1
github.com/spiegel-im-spiegel/errs v1.0.5
github.com/spiegel-im-spiegel/fetch v0.2.5
github.com/spiegel-im-spiegel/gocli v0.10.5
)

require (
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
)
450 changes: 365 additions & 85 deletions go.sum

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions test-all.sh

This file was deleted.

0 comments on commit da46c4d

Please sign in to comment.