aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/go.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index a375f96..1072be5 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -13,11 +13,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- - name: Set up Go 1.20
+ - name: Set up Go
uses: actions/setup-go@v4
with:
- go-version: '1.20'
- id: go
+ go-version-file: 'go.mod'
- name: Checkout
uses: actions/checkout@v3