diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index 3ef926a9..5c944cdd 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -9,16 +9,16 @@ jobs: name: lint runs-on: ubuntu-latest steps: + - name: setup-go + uses: https://gitea.com/actions/setup-go@v3 + with: + go-version: 1.18 - name: checkout uses: https://gitea.com/actions/checkout@v3 - name: setup-node uses: https://gitea.com/actions/setup-node@v3 with: node-version: 18 - - name: setup-go - uses: https://gitea.com/actions/setup-go@v3 - with: - go-version: 1.18 - name: deps run: go get -v -d ./... - name: lint diff --git a/.gitea/workflows/pr.yml b/.gitea/workflows/pr.yml index 7ebd89e6..0247bac0 100644 --- a/.gitea/workflows/pr.yml +++ b/.gitea/workflows/pr.yml @@ -9,12 +9,12 @@ jobs: name: test runs-on: ubuntu-latest steps: - - name: checkout - uses: https://gitea.com/actions/checkout@v3 - name: setup-node uses: https://gitea.com/actions/setup-node@v3 with: node-version: 18 + - name: checkout + uses: https://gitea.com/actions/checkout@v3 - name: setup-go uses: https://gitea.com/actions/setup-go@v3 with: