Skip to content

Commit

Permalink
update ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Slach committed Nov 5, 2023
1 parent 4a1fc7f commit c912ffe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16'
cache: 'npm'
Expand All @@ -43,20 +43,20 @@ jobs:
- name: Setup Go environment
if: steps.check-for-backend.outputs.has-backend == 'true'
uses: actions/setup-go@latest
uses: actions/setup-go@v4
with:
go-version: '1.21'

- name: Test backend
if: steps.check-for-backend.outputs.has-backend == 'true'
uses: magefile/mage-action@v2
uses: magefile/mage-action@v3
with:
version: latest
args: coverage

- name: Build backend
if: steps.check-for-backend.outputs.has-backend == 'true'
uses: magefile/mage-action@v2
uses: magefile/mage-action@v3
with:
version: latest
args: buildAll
Expand Down

0 comments on commit c912ffe

Please sign in to comment.