change contentVisibility
to contain
#12394
Workflow file for this run
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: golang | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: '${{ github.workflow }}-${{ github.head_ref || github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Go tooling | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.22' | |
- name: Dummy Static Files | |
run: touch bskyweb/static/js/blah.js && touch bskyweb/static/media/blah.txt | |
- name: Check | |
run: cd bskyweb/ && make check | |
- name: Build (binary) | |
run: cd bskyweb/ && make build | |
- name: Test | |
run: cd bskyweb/ && make test | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Go tooling | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.22' | |
- name: Dummy Static Files | |
run: touch bskyweb/static/js/blah.js && touch bskyweb/static/media/blah.txt | |
- name: Lint | |
run: cd bskyweb/ && make lint |