bump immudb version in sql stdlib sample #168
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: immudb examples Go | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
runner-job: | |
runs-on: ubuntu-latest | |
services: | |
immudb: | |
image: codenotary/immudb:latest | |
ports: | |
- 3322:3322 | |
steps: | |
- name: Setup runner for Go | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install golang | |
- uses: actions/checkout@v1 | |
- name: Run examples | |
run: | | |
for f in $(ls *.go | grep -v signature) | |
do | |
echo "Processing $f" | |
go run "$f" | |
done | |
working-directory: ./go | |
- name: Run linter (go fmt) | |
run : | | |
for f in *.go | |
do | |
echo "Checking if $f is go fmt'ed" | |
test -z $(go fmt "$f") | |
done | |
working-directory: ./go |