Skip to content

Commit

Permalink
chore: update go and github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mateimicu committed Jul 25, 2022
1 parent eb53172 commit 41a56c2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v1.1.1
uses: dependabot/fetch-metadata@v1.1.3
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/golang-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
name: Go Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- name: Run Tests
run: |
go test -race -v -coverprofile=coverage.txt -covermode=atomic ./...
Expand All @@ -33,8 +33,8 @@ jobs:
runs-on: ubuntu-latest
needs: [lint, test]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- name: Basic build of the project
run: |
go build main.go
12 changes: 3 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Unshallow
run: git fetch --prune --unshallow

- name: Set up Go
uses: actions/setup-go@v2

# NOTE(mmicu): no need to import certificate
#- uses: apple-actions/import-codesign-certs@v1
#with:
#p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
#p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
uses: actions/setup-go@v3

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
uses: goreleaser/goreleaser-action@v3
with:
version: latest
args: release --rm-dist
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/mateimicu/kdiscover

go 1.13
go 1.17

require (
github.com/Masterminds/semver v1.5.0
Expand Down

0 comments on commit 41a56c2

Please sign in to comment.