Skip getting an article summary #44
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: build on push to the main branch | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: run script | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out this repository | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21.4' | |
cache-dependency-path: | | |
app/go.sum | |
- name: Build Go script | |
working-directory: ./app | |
run: go build . | |
- name: Test with the Go CLI | |
working-directory: ./app | |
run: go test . | |