diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index 7eed0d4c..3ef926a9 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -9,12 +9,16 @@ jobs: name: lint runs-on: ubuntu-latest steps: - - name: setup + - 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: checkout - uses: https://gitea.com/actions/checkout@v3 - name: deps run: go get -v -d ./... - name: lint diff --git a/.gitea/workflows/pr.yml b/.gitea/workflows/pr.yml index fdab548f..7ebd89e6 100644 --- a/.gitea/workflows/pr.yml +++ b/.gitea/workflows/pr.yml @@ -9,12 +9,16 @@ jobs: name: test runs-on: ubuntu-latest steps: - - name: setup + - 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: checkout - uses: https://gitea.com/actions/checkout@v3 - name: deps run: go get -v -t -d ./... - name: test