Skip to content

fix: actions

fix: actions #66

Workflow file for this run

on:
workflow_dispatch:
push:
branches: [main]
permissions:
id-token: write
contents: read
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
check-latest: true
go-version: 'stable'
- uses: golangci/golangci-lint-action@v4
- run: go test -v .
- uses: aws-actions/setup-sam@v2
with:
use-installer: true
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::407461997746:role/github-actions-Role-56IHHM969DKJ
aws-region: ap-southeast-1
- name: Check for new bus stops
run: ./allthebusstops.sh
env:
ACCOUNTKEY: ${{ secrets.ACCOUNTKEY }}
- run: git status
- run: make deploy