Skip to content

Commit

Permalink
chore: update (#27)
Browse files Browse the repository at this point in the history
### **PR Type**
enhancement


___

### **Description**
- Updated `golangci-lint` to use `buildGoModule` instead of
`buildGo123Module`.
- Set `golangci-lint` version to "1.61.0".



___



### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>go.nix</strong><dd><code>Update `golangci-lint` to use
`buildGoModule` and set version</code></dd></summary>
<hr>

overlays/go.nix

<li>Updated <code>golangci-lint</code> to use <code>buildGoModule</code>
instead of <br><code>buildGo123Module</code>.<br> <li> Set
<code>golangci-lint</code> version to "1.61.0".<br>


</details>


  </td>
<td><a
href="https://github.com/nhost/nixops/pull/27/files#diff-46da9fc0b23a2984c1ff57bfd4063ad81fccffcc8403f6902d186d679b4e52bd">+1/-1</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>
</table></td></tr></tr></tbody></table>

___

> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information
  • Loading branch information
dbarrosop authored Nov 26, 2024
1 parent 939fe65 commit 7358bb7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion overlays/go.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ final: prev: rec {
buildGoModule = prev.buildGoModule.override { go = go; };

golangci-lint = prev.golangci-lint.override {
buildGo123Module = args: final.buildGoModule (args // rec {
buildGoModule = args: final.buildGoModule (args // rec {
version = "1.61.0";
src = prev.fetchFromGitHub {
owner = "golangci";
Expand Down

0 comments on commit 7358bb7

Please sign in to comment.