Skip to content

renovate: Update actions/setup-go action to v4 #10

renovate: Update actions/setup-go action to v4

renovate: Update actions/setup-go action to v4 #10

Workflow file for this run

name: "Danger Go"
on: [pull_request]
jobs:
danger:
name: Danger Go
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '^1.19'
- uses: actions/setup-node@v3
with:
node-version: '14'
- name: Install Danger JS
run: npm install -g danger
- name: Install danger-go
run: go install github.com/luno/danger-go/cmd/danger-go
- name: Check versions
run: |
go version
danger-go version
danger -V
- name: Run danger-go ci
run: danger-go ci
working-directory: ./build/ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
test:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '^1.19'
- name: Go tests
run: go test -v ./...