mirror of
https://gitea.com/gitea/website.git
synced 2024-06-02 08:11:23 +05:30
24 lines
507 B
Plaintext
24 lines
507 B
Plaintext
name: check-and-test
|
|
|
|
on:
|
|
- pull_request
|
|
|
|
jobs:
|
|
check-and-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Setup Hugo
|
|
uses: https://github.com/peaceiris/actions-hugo@v2
|
|
with:
|
|
hugo-version: '0.111.3'
|
|
extended: true
|
|
- name: setup go
|
|
uses: https://github.com/actions/setup-go@v4
|
|
with:
|
|
go-version: '>=1.20.1'
|
|
- name: Build
|
|
run: |
|
|
make clean
|
|
make build
|