Initial commit #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Workflow | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
check_plugins: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # for loading all branches and tags | |
- name: Set up Golang | |
uses: actions/setup-go@v3 | |
with: | |
go-version: "1.20" | |
- name: Set up Git | |
run: | | |
git config --global user.email "${{ github.event.pusher.email }}" | |
git config --global user.name "${{ github.event.pusher.name }}" | |
- name: Render and commit HTML | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GITHUB_REPOSITORY: ${{ github.repository }} | |
GITHUB_ACTOR: ${{ github.actor }} | |
run: | | |
cd web/workflow | |
go mod tidy | |
go run . |