mirror of
https://github.com/csmith/github-workflows
synced 2026-01-21 02:16:24 +01:00
No description
You can't pass GITHUB_TOKEN as it's special cased, but you can't use it without passing it........ |
||
|---|---|---|
| .github | ||
| .gitignore | ||
| LICENCE | ||
| README.md | ||
Common GitHub Workflows
This repo contains some GitHub workflows I use in my projects.
build-image.yml
Builds a container image using buildah and pushes it to the GitHub container registry. Example usage:
name: build image
on:
push:
branches:
- master
tags:
- v*
jobs:
build:
uses: csmith/github-workflows/.github/workflows/build-image.yml@master
secrets: inherit
container-test.yml
Builds a container image using buildah, without pushing it anywhere. Example usage:
name: check container build
on:
pull_request:
jobs:
build:
uses: csmith/github-workflows/.github/workflows/container-test.yml@master
go-build.yml
Installs the current stable version of Go and builds a package. Example usage:
name: build go project
on:
push:
branches:
- master
pull_request:
jobs:
build:
uses: csmith/github-workflows/.github/workflows/go-build.yml@master
go-test.yml
Installs the current stable version of Go and runs all tests in a package. Example usage:
name: run go tests
on:
push:
branches:
- master
pull_request:
jobs:
build:
uses: csmith/github-workflows/.github/workflows/go-test.yml@master
go-vulncheck.yml
Installs the latest version of govulncheck
and runs it on a package. Example usage:
name: check for go vulnerabilities
on:
push:
branches:
- master
pull_request:
jobs:
build:
uses: csmith/github-workflows/.github/workflows/go-vulncheck.yml@master