Merge pull request #258 from kellemNegasi/us-627-example-metered-api-… #479
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 all examples | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
name: Build Go ${{ matrix.go }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: [ '1.22', '1.21', '1.20', '1.19', '1.18' ] | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Setup go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Setup ImageMagick's MagickWand | |
run: | |
sudo apt-get install libmagickwand-dev | |
- name: Build all | |
run: | | |
./build_examples.sh |