fix: normalize input types of CSS middleware (#152) #394
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: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.1 | |
- name: Test | |
uses: joerdav/run-xc@1.0.0 | |
with: | |
task: test | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.1 | |
- name: Lint | |
uses: golangci/golangci-lint-action@v3 | |
ensure-generated: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.1 | |
- name: Generate | |
uses: joerdav/run-xc@1.0.0 | |
with: | |
task: generate | |
- name: Ensure clean | |
run: git diff --exit-code |