5043 to 5136 #67
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |