Skip to content

updates secrets

updates secrets #6

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
# Goreadme needs permissions to update pull requests comments and change contents.
pull-requests: write
contents: write
jobs:
goreadme:
runs-on: ubuntu-latest
container:
image: ci-image:v1.0.0
options: --user 1001
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Update readme according to Go doc
uses: posener/goreadme@v1
with:
GITHUB_TOKEN: '${{ secrets.PAT }}'
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22.1'
- name: Compile
run: make compile
- name: Test
run: make test