Skip to content

Bump actions/checkout from 4.1.0 to 4.1.1 (#44) #110

Bump actions/checkout from 4.1.0 to 4.1.1 (#44)

Bump actions/checkout from 4.1.0 to 4.1.1 (#44) #110

Workflow file for this run

name: ci-build-test
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.21'
check-latest: true
cache: true
- name: Run Go tests
run: go test ./...
- name: build
run: go build ./...
- name: run clank - failure
run: "! ./clank testdata/push.yaml"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: run clank - success
run: ./clank .github/workflows
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}