Skip to content

Bump actions/checkout from 3.5.3 to 3.6.0 (#36) #77

Bump actions/checkout from 3.5.3 to 3.6.0 (#36)

Bump actions/checkout from 3.5.3 to 3.6.0 (#36) #77

Workflow file for this run

name: ci-build-test
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
env:
GO_VERSION: '1.20.x'
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
with:
go-version: '1.20'
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 }}