Skip to content

Merge pull request #1 from addetz/dependabot/go_modules/golang.org/x/… #6

Merge pull request #1 from addetz/dependabot/go_modules/golang.org/x/…

Merge pull request #1 from addetz/dependabot/go_modules/golang.org/x/… #6

Workflow file for this run

name: Deploy to Railway
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.21.x'
- name: Install dependencies
run: go get ./...
- name: Build
run: go build -v ./...
- name: Test with the Go CLI
run: go test ./... -v
- name: Deploy Railway
uses: bervProject/railway-deploy@main
with:
railway_token: ${{ secrets.RAILWAY_TOKEN }}
service: ${{ secrets.RAILWAY_SERVICE }}