Skip to content

Job ID in workflow yaml has to be unique #261

Job ID in workflow yaml has to be unique

Job ID in workflow yaml has to be unique #261

Workflow file for this run

name: CI for 128tech branches
on:
push:
branches: [release-128tech-*]
pull_request:
branches: [release-128tech-*]
release:
types: [published]
tags: [128tech-v*]
jobs:
test:
name: Continuous Integration
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.18.1
uses: actions/setup-go@v2
with:
go-version: 1.18.1
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Test
run: go test -short ./...
validation:
name: Valdate workflows
runs-on: ubuntu-latest
steps:
- name: Grab Action Validator
uses: mpalmer/action-validator@v0.6.0
- name: validate
run: action-validator .github/workflows