Skip to content

Commit

Permalink
Updated GitHub action to check for latest version of Go
Browse files Browse the repository at this point in the history
  • Loading branch information
Ne0nd0g committed Dec 14, 2023
1 parent 4b8f253 commit 2b02f8c
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: '1.21'
check-latest: true

- name: 'Build Merlin Agent'
id: build
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: '1.21'
check-latest: true

- name: Install 7zip
id: install_7zip
Expand Down
2 changes: 1 addition & 1 deletion commands/exec_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ func getProcess(name string, pid uint32) (string, uint32, error) {
}

snapshotHandle, err := syscall.CreateToolhelp32Snapshot(windows.TH32CS_SNAPPROCESS, 0)
if snapshotHandle < 0 || err != nil {
if int(snapshotHandle) < 0 || err != nil {
return "", 0, fmt.Errorf("there was an error creating the snapshot:\r\n%s", err)
}
defer syscall.CloseHandle(snapshotHandle)
Expand Down
2 changes: 1 addition & 1 deletion core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var Verbose = false
var Debug = false

// Version is the Merlin Agent's version number
var Version = "2.0.0"
var Version = "2.2.0"

// Build is the build number of the Merlin Agent program set at compile time
var Build = "nonRelease"
Expand Down
2 changes: 1 addition & 1 deletion docs/CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## 2.2.0 - 2023-12-09
## 2.2.0 - 2023-12-14

### Added

Expand Down
12 changes: 7 additions & 5 deletions docs/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@

### Environment Data

* Merlin Version:
* Merlin Build:
* Merlin Agent Version:
* Merlin Agent Build:
* Operating System:

If you're building from source, please provide the following information:
* Go Version:
* GOPATH Environment Variable:
* GOROOT Environment Variable:
* Operating System:

### Expected Behavior

### Actual Behavior

### Expected Behavior

### Steps to Reproduce Behavior

### Misc Information

0 comments on commit 2b02f8c

Please sign in to comment.