diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5f3b8e5..86d82bf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,12 +11,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - name: Set up Go 1.18 - uses: actions/setup-go@v3 + - name: Set up Go + uses: actions/setup-go@v5 with: - go-version: 1.18 + go-version-file: go.mod - name: Format run: go fmt && git diff --exit-code diff --git a/.github/workflows/test-zabbix.yml b/.github/workflows/test-zabbix.yml index 4649fe9..1a45f4e 100644 --- a/.github/workflows/test-zabbix.yml +++ b/.github/workflows/test-zabbix.yml @@ -47,12 +47,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - name: Set up Go 1.18 - uses: actions/setup-go@v3 + - name: Set up Go + uses: actions/setup-go@v5 with: - go-version: 1.18 + go-version-file: go.mod - name: Test env: