Skip to content

Commit

Permalink
Update go to 1.22 and switch to reusable workflows (#21)
Browse files Browse the repository at this point in the history
* Switch to reusable workflow

* Upgrade to go 1.22.0
  • Loading branch information
webbnh committed Sep 9, 2024
1 parent d9b3528 commit f10cf13
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 107 deletions.
27 changes: 0 additions & 27 deletions .github/scripts/gogenerate.sh

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Build
on:
push:
branches:
- main
tags:
- v*
pull_request:
jobs:
lint_and_test:
name: lint and test
uses: arcalot/arcaflow-reusable-workflows/.github/workflows/go_lint_and_test.yaml@main
with:
go_version: ${{ vars.ARCALOT_GO_VERSION }}
generate:
name: go generate
uses: arcalot/arcaflow-reusable-workflows/.github/workflows/go_generate.yaml@main
with:
go_version: ${{ vars.ARCALOT_GO_VERSION }}
79 changes: 0 additions & 79 deletions .github/workflows/build.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .limgo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"statistic": {
"excludes": [
"mocks/.*"
]
}
}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module go.arcalot.io/dgraph

go 1.21
go 1.22.0

require go.arcalot.io/assert v1.8.0

0 comments on commit f10cf13

Please sign in to comment.