Skip to content

Commit

Permalink
chore: updated go and node version on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wufe committed Apr 1, 2023
1 parent c667365 commit e7a63d1
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,28 @@ name: Tests

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
- name: Use Node.js 14.x
uses: actions/setup-node@v2
with:
node-version: 14.x
- run: yarn
- name: Install statik
run: go get github.com/rakyll/statik
- name: Build
run: yarn build:prod
- name: Test
run: yarn test:prod
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Use Node.js 14.x
uses: actions/setup-node@v2
with:
node-version: 16.x
- run: yarn
- name: Install statik
run: go get github.com/rakyll/statik
- name: Build
run: yarn build:prod
- name: Test
run: yarn test:prod

0 comments on commit e7a63d1

Please sign in to comment.