Skip to content

Merge pull request #23 from form3tech-oss/ab-fix-parsing-of-images-wi… #19

Merge pull request #23 from form3tech-oss/ab-fix-parsing-of-images-wi…

Merge pull request #23 from form3tech-oss/ab-fix-parsing-of-images-wi… #19

Workflow file for this run

name: CI
on:
push:
branches:
- master
tags:
- '**'
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
- name: Setup Golang
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
with:
go-version-file: go.mod
- name: Test
run: GO111MODULE=on make test
release:
if: startsWith(github.ref, 'refs/tags')
needs: [ test ]
runs-on: ubuntu-latest
permissions:
contents: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout Code
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
- name: Setup Golang
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
with:
go-version-file: go.mod
- name: Release
run: curl -sL https://git.io/goreleaser | bash