diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000..615dfde
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,10 @@
+version: 2
+updates:
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ interval: "daily"
+ - package-ecosystem: "gomod"
+ directory: "/"
+ schedule:
+ interval: "daily"
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0220beb..7cf44b0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,9 +1,9 @@
name: CI
on:
push:
- branches: [master]
+ branches: [main]
pull_request:
- branches: [master]
+ branches: [main]
jobs:
unit-tests:
@@ -13,6 +13,6 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
- go-version: '1.19'
+ go-version: '1.20'
- run: go version
- run: go test -v ./...
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 8bc2109..3fb3f86 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -4,9 +4,9 @@ name: CD
# Controls when the action will run.
on:
- # Triggers the workflow on push or pull request events but only for the master branch
+ # Triggers the workflow on push or pull request events but only for the main branch
push:
- branches: [ master ]
+ branches: [ main ]
pull_request:
# Allows you to run this workflow manually from the Actions tab
diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml
new file mode 100644
index 0000000..3eb3da3
--- /dev/null
+++ b/.github/workflows/winget.yml
@@ -0,0 +1,14 @@
+name: Publish to Winget
+on:
+ release:
+ types: [released]
+
+jobs:
+ publish:
+ runs-on: windows-latest # Action can only run on Windows
+ steps:
+ - uses: vedantmgoyal2009/winget-releaser@v2
+ with:
+ identifier: schollz.croc
+ installers-regex: '_Windows-\w+\.zip$'
+ token: ${{ secrets.WINGET_TOKEN }}
\ No newline at end of file
diff --git a/.goreleaser.yml b/.goreleaser.yml
index 73eaef3..e36cd99 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -97,4 +97,4 @@ announce:
twitter:
# Wether its enabled or not.
# Defaults to false.
- enabled: true
+ enabled: false
\ No newline at end of file
diff --git a/README.md b/README.md
index 4171e2a..b7b4176 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
src="https://user-images.githubusercontent.com/6550035/46709024-9b23ad00-cbf6-11e8-9fb2-ca8b20b7dbec.jpg"
width="408px" border="0" alt="croc">
-
+