mirror of
https://github.com/ivuorinen/gh-action-readme.git
synced 2026-02-14 18:49:38 +00:00
Initial commit
This commit is contained in:
22
.github/workflows/ci.yml
vendored
Normal file
22
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: CI
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
- name: Install dependencies
|
||||
run: go mod tidy
|
||||
- name: Run unit tests
|
||||
run: go test ./...
|
||||
- name: Example Action Readme Generation
|
||||
run: |
|
||||
go run . gen --config config.yaml
|
||||
working-directory: ./testdata/example-action
|
||||
|
||||
Reference in New Issue
Block a user