Merge pull request #7 from davidramiro/dependabot/go_modules/github.c… #24
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 & test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '>=1.20.0' | |
- name: Create config.yml from secrets | |
run: echo -n "${{ secrets.CONFIG_YML }}" | base64 --decode > config.yml | |
- name: Create streams.yml from secrets | |
run: echo -n "${{ secrets.STREAMS_YML }}" | base64 --decode > streams.yml | |
- name: ls | |
run: ls -la | |
- name: Build | |
run: go build -v ./... | |
- name: Test with the Go CLI | |
run: go test -v ./... |